Abstract
There are many metrics for evaluating the quality of codes written in different programming languages. However, no efforts have been done to propose metrics for Python, which is an important and useful language especially for the software development for the embedded systems. In this present work, we are trying to investigate all the factors, which are responsible for increasing the complexity of code written in Python language. Accordingly, we have proposed a unified metric for this language. Practical applicability of the metric is demonstrated on a case study.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Costagliola, G., Tortora, G.: Class points: An approach for the size Estimation of Object-oriented systems. IEEE Transactions on Software Engineering 31(1), 52–74 (2005)
Misra, S., Akman, I.: Weighted Class Complexity: A Measure of Complexity for Object Oriented Systems. Journal of Information Science and Engineering 24, 1689–1708 (2008)
Chidamber, S.R., Kermer, C.F.: A Metric Suite for object oriented design. IEEE Transacations Software Engineering SE-6, 476–493 (1994)
Lutz, M.: Learning Python, 4th edn., Ebook, Safari Books Online, O’Reilly Media, Sebastopol (2009)
Fenton, N.E., Pfleeger, S.L.: Software Metrics: A Rigorous and Practical Approach, 2nd Revised edn. PWS Publishing, Boston (1997)
Bird, S., Klein, E., Loper, E.: Natural Language Processing with Python, 1st edn., Ebook, Safari Books Online, O’Reilly Media, Sebastopol (2009)
Gift, N., Jones, J.M.: Python for Unix and Linux System Administration, 1st edn., Ebook, Safari Books Online, O’Reilly Media, Sebastopol (August 2008)
Model, M.L., Tisdall, J.: Bioinformatics Programming Using Python, 1st ed., Ebook, Safari Books Online. O’Reilly Media, Sebastopol (2009)
Python Programming Language, http://www.Python.org/ cited 04.10.2009
Lutz, M.: Programming Python, 3rd ed., Ebook, Safari Books Online. O’Reilly Media (2006)
Misra, S., Akman, I.: Unified Complexity Metric: A measure of Complexity. In: Proc. of National Academy of Sciences Section A, 2010 (in press)
Basci, D., Misra, S.: Data Complexity Metrics for Web-Services. Advances in Electrical and Computer Engineering 9(2), 9–15 (2009)
Basci, D., Misra, S.: Measuring and Evaluating a Design Complexity Metric for XML Schema Documents. Journal of Information Science and Engineering, 1415–1425 (September 2009)
Wang, Y., Shao, J.: A New Measure of Software Complexity Based on Cognitive Weights. Can. J. Elec. Comput. Engg., 69–74 (2003)
SciPy.in 2009, http://scipy.in/ cited 16.10.2009
Rupy 2009. http://rupy.eu/ cited 10.11.2009
FrontRangePythoneersUc 2009, http://wiki.python.org/moin/FrontRangePythoneersUc09 cited 05.10.2009
Confoo.Ca Web Techno Conference, http://www.confoo.ca/en cited 14.11.2009
Kushwaha, D.S., Misra, A.K.: Improved Cognitive Information Complexity Measure: A Metric That Establishes Program Comprehension Effort. SIGSOFT Software Engineering Notes 31(5) 1–7 (2006)
DMH2000 C/Java/Python/Ruby, http://www.dmh2000.com/cjpr/ , cited 15.10.2009
Neuroscience – Brain vs. Computer, http://faculty.washington.edu/chudler/bvc.html , cited 17.10.2009.
Computer vs. The Brain, http://library.thinkquest.org/C001501/the_saga/sim.htm , cited 17.10.2009
Basci, D., Misra, S.: Entropy metric for XML DTD documents. SIGSOFT Softw. Eng. Notes 33(4), 1–6 (2008)
Python Code Complexity Metrics and Tools available from: http://agiletesting.blogspot.com/2008/03/Python-code-complexity-metrics-and.html
Pythius Homepage, http://pythius.sourceforge.net/ , cited 03.10.2009)
Python Dependency Graphs, http://furius.ca/snakefood/ , cited 08.11.2009
Measuring Cyclomatic Complexity of Python Code http://www.traceback.org/2008/03/31/measuring-cyclomatic-complexity-of-Python-code/
PyMetrics, http://sourceforge.net/projects/pymetrics/ , cited 21.09.2009
Shinyama, Y.: http://www.unixuser.org/~euske/python/index.html , cited 06.10.2009
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Misra, S., Cafer, F. (2010). A Software Metric for Python Language. In: Taniar, D., Gervasi, O., Murgante, B., Pardede, E., Apduhan, B.O. (eds) Computational Science and Its Applications – ICCSA 2010. ICCSA 2010. Lecture Notes in Computer Science, vol 6017. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-12165-4_24
Download citation
DOI: https://doi.org/10.1007/978-3-642-12165-4_24
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-12164-7
Online ISBN: 978-3-642-12165-4
eBook Packages: Computer ScienceComputer Science (R0)