94% edd-version

Code Review | EDD Version

WordPress plugin EDD Version scored 94% from 54 tests.

About plugin

  • Plugin page: edd-version
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.1
  • WordPress version: 5.8.1
  • First release: Jan 24, 2015
  • Latest release: Jan 24, 2015
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: jeangalea (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 702 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▼0.00MB] [CPU: ▼147.02ms] Passed 4 tests

A check of server-side resources used by EDD Version
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.0036.60 ▼2.28
Dashboard /wp-admin3.07 ▲0.0147.52 ▼10.23
Posts /wp-admin/edit.php3.12 ▲0.0045.83 ▼2.62
Add New Post /wp-admin/post-new.php5.42 ▼0.0292.70 ▼572.95
Media Library /wp-admin/upload.php3.01 ▲0.0034.99 ▲5.15

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

EDD Version: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲8315.76 ▲0.299.32 ▼0.6249.56 ▼5.96
Dashboard /wp-admin2,989 ▲586.02 ▲0.09143.66 ▼12.80129.53 ▲3.00
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0165.15 ▼7.3497.07 ▼3.06
Add New Post /wp-admin/post-new.php1,683 ▼018.81 ▲0.50376.76 ▼8.82112.61 ▲0.47
Media Library /wp-admin/upload.php1,810 ▲35.09 ▲0.04148.41 ▲1.75115.02 ▼9.86

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/edd-version/edd-version.php:32

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: software licensing, version, easy digital downloads, edd

edd-version/edd-version.php Passed 13 tests

This is the main PHP file of "EDD Version" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
102 characters long description:
Shortcode to output the version number of an EDD download. Requires the EDD Software Licensing add-on.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin6 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin