Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. 3D code analysis

3D code analysis

Scheduled Pinned Locked Moved The Lounge
comquestion
38 Posts 22 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jim Crafton
    wrote on last edited by
    #1

    Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

    P N C R S 15 Replies Last reply
    0
    • J Jim Crafton

      Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Sounds cool. I can see it having some benefit if you were trying to perform analytics on it, e.g. comparing KLOCS I/L to KLOCS of code and manipulating down to the individual method level.

      Forgive your enemies - it messes with their heads

      My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

      B 1 Reply Last reply
      0
      • J Jim Crafton

        Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

        N Offline
        N Offline
        Nagy Vilmos
        wrote on last edited by
        #3

        I can't remember his name, but there's this guy who does loads of 3D stuff, always posting links here... :laugh:


        Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

        P J 2 Replies Last reply
        0
        • N Nagy Vilmos

          I can't remember his name, but there's this guy who does loads of 3D stuff, always posting links here... :laugh:


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          J Offline
          J Offline
          Jim Crafton
          wrote on last edited by
          #4

          No, not him, he's a complete nut job, always going on and on about this 3D crap. No, there's got to be something else... :rolleyes:

          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

          P L 2 Replies Last reply
          0
          • N Nagy Vilmos

            I can't remember his name, but there's this guy who does loads of 3D stuff, always posting links here... :laugh:


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Nagy Vilmos wrote:

            I can't remember his name, but there's this guy who does loads of 3D stuff

            I think it's Ethel Crudacre.

            Forgive your enemies - it messes with their heads

            My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

            1 Reply Last reply
            0
            • J Jim Crafton

              No, not him, he's a complete nut job, always going on and on about this 3D crap. No, there's got to be something else... :rolleyes:

              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              Jim Crafton wrote:

              No, not him, he's a complete nut job

              Ah, so it is Ethel Crudacre.

              Forgive your enemies - it messes with their heads

              My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

              N 1 Reply Last reply
              0
              • P Pete OHanlon

                Jim Crafton wrote:

                No, not him, he's a complete nut job

                Ah, so it is Ethel Crudacre.

                Forgive your enemies - it messes with their heads

                My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                N Offline
                N Offline
                Nagy Vilmos
                wrote on last edited by
                #7

                :thumbsup::thumbsup::thumbsup::thumbsup::thumbsup:


                Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                1 Reply Last reply
                0
                • J Jim Crafton

                  Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                  ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                  C Offline
                  C Offline
                  Chris Meech
                  wrote on last edited by
                  #8

                  I've worked with some stuff that did code path analysis and produced 2D charts showing where source code could be folded and refactored. Not sure what third dimension could be used for. A sales guy for the product used to say, "I've never met a GOTO that couldn't be replaced". :)

                  Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

                  1 Reply Last reply
                  0
                  • J Jim Crafton

                    Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                    R Offline
                    R Offline
                    Rutvik Dave
                    wrote on last edited by
                    #9

                    Jim Crafton wrote:

                    3D result

                    You mean.... 'Works' , 'Doent Work' and 'Works for Me!'

                    1 Reply Last reply
                    0
                    • J Jim Crafton

                      Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                      S Offline
                      S Offline
                      Single Step Debugger
                      wrote on last edited by
                      #10

                      You can create a 3D model of a shit yourself. This will be the 3D output from most of the analyzed code anyway.

                      There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                      P 1 Reply Last reply
                      0
                      • S Single Step Debugger

                        You can create a 3D model of a shit yourself. This will be the 3D output from most of the analyzed code anyway.

                        There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #11

                        Speak for your own code mate. Some of us produce diamonds. ;P

                        Forgive your enemies - it messes with their heads

                        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                        S S 2 Replies Last reply
                        0
                        • J Jim Crafton

                          Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                          G Offline
                          G Offline
                          GParkings
                          wrote on last edited by
                          #12

                          what would the 3 axis represent? Memory usage, cpu time, clock time? or i suppose you could start with a 2D UML diagram and then simply extrude out a shape on the 3rd axis by a single variable, such as a class diagram with height of class blocks determined by lines of code (which in turn could be 'displaced' by lines of code in each method).

                          Pedis ex oris

                          A 1 Reply Last reply
                          0
                          • J Jim Crafton

                            Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                            ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                            P Offline
                            P Offline
                            puromtec1
                            wrote on last edited by
                            #13

                            If this is for artistic design, which might be cool (maybe only to us programmers), I think its worth doing. For general pattern discovery or novelty detection of sorts, the 3D representation may be independent of your main goal of actually discovering knowledge about your source code. The knowledge discovered could be presented in 3D, but what type of knowledge do you seek?

                            1 Reply Last reply
                            0
                            • J Jim Crafton

                              Anyone ever seen (or written themselves) a program that analyzes some source code (doesn't matter what language) and then produces some sort of 3D result? I'm not sure what the result would actually be but I would suspect that some interesting patterns would show up. I'm looking for something like this and was just curious if anyone else has thought of this.

                              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                              B Offline
                              B Offline
                              Bassam Abdul Baki
                              wrote on last edited by
                              #14

                              A Google search on "3D code metrics" brings up A Solar System Metaphor for 3D Visualisation of Object Oriented Software Metrics[^] as the first hit.

                              Web - BM - RSS - Math - LinkedIn

                              P 1 Reply Last reply
                              0
                              • B Bassam Abdul Baki

                                A Google search on "3D code metrics" brings up A Solar System Metaphor for 3D Visualisation of Object Oriented Software Metrics[^] as the first hit.

                                Web - BM - RSS - Math - LinkedIn

                                P Offline
                                P Offline
                                Pete OHanlon
                                wrote on last edited by
                                #15

                                Catchy title.

                                Forgive your enemies - it messes with their heads

                                My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                B 1 Reply Last reply
                                0
                                • P Pete OHanlon

                                  Catchy title.

                                  Forgive your enemies - it messes with their heads

                                  My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                  B Offline
                                  B Offline
                                  Bassam Abdul Baki
                                  wrote on last edited by
                                  #16

                                  Yes, all that's missing is blondes in there, and they'd have a trifecta.

                                  Web - BM - RSS - Math - LinkedIn

                                  P 1 Reply Last reply
                                  0
                                  • B Bassam Abdul Baki

                                    Yes, all that's missing is blondes in there, and they'd have a trifecta.

                                    Web - BM - RSS - Math - LinkedIn

                                    P Offline
                                    P Offline
                                    Pete OHanlon
                                    wrote on last edited by
                                    #17

                                    I've just finished reading it. It's actually very interesting. I'd like to see the prototype that they've developed.

                                    Forgive your enemies - it messes with their heads

                                    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                    B 1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      I've just finished reading it. It's actually very interesting. I'd like to see the prototype that they've developed.

                                      Forgive your enemies - it messes with their heads

                                      My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                      B Offline
                                      B Offline
                                      Bassam Abdul Baki
                                      wrote on last edited by
                                      #18

                                      I skimmed it. It was interesting, but I have no need for one at the moment. Thanks for the heads up on the Supernova.

                                      Web - BM - RSS - Math - LinkedIn

                                      P 1 Reply Last reply
                                      0
                                      • P Pete OHanlon

                                        Speak for your own code mate. Some of us produce diamonds. ;P

                                        Forgive your enemies - it messes with their heads

                                        My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                        S Offline
                                        S Offline
                                        Single Step Debugger
                                        wrote on last edited by
                                        #19

                                        You would have been perfect if you weren’t so humble. :-D

                                        There is only one Ashley Judd and Salma Hayek is her prophet! Advertise here – minimum three posts per day are guaranteed.

                                        1 Reply Last reply
                                        0
                                        • B Bassam Abdul Baki

                                          I skimmed it. It was interesting, but I have no need for one at the moment. Thanks for the heads up on the Supernova.

                                          Web - BM - RSS - Math - LinkedIn

                                          P Offline
                                          P Offline
                                          Pete OHanlon
                                          wrote on last edited by
                                          #20

                                          No problem. If the cloud shifts here, I'll be out looking for it.

                                          Forgive your enemies - it messes with their heads

                                          My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups