100% edd-free-download-text

Code Review | EDD Free Download Text

WordPress plugin EDD Free Download Text scored 100% from 54 tests.

About plugin

  • Plugin page: edd-free-download...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.8.1
  • WordPress version: 5.8.1
  • First release: May 30, 2014
  • Latest release: Aug 8, 2017
  • Number of updates: 5
  • Update frequency: every 233.2 days
  • Top authors: sumobi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 2,167 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

Server-side resources used by EDD Free Download Text
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1232.99 ▲9.66
Dashboard /wp-admin3.06 ▲0.0044.45 ▼2.21
Posts /wp-admin/edit.php3.11 ▲0.0044.37 ▲1.74
Add New Post /wp-admin/post-new.php5.42 ▼0.0292.83 ▼559.55
Media Library /wp-admin/upload.php3.00 ▲0.0035.08 ▲4.84

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for EDD Free Download Text
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.84 ▲0.279.68 ▲0.1250.36 ▼1.10
Dashboard /wp-admin2,967 ▲365.97 ▼0.01140.00 ▼5.64117.47 ▼0.75
Posts /wp-admin/edit.php2,739 ▼02.70 ▲0.0267.13 ▲3.3595.83 ▲5.71
Add New Post /wp-admin/post-new.php1,604 ▼7916.93 ▼1.85378.85 ▼22.88116.10 ▲5.75
Media Library /wp-admin/upload.php1,807 ▼05.03 ▲0.03180.70 ▲21.66131.74 ▲5.22

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test

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)
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention: You can look at the official readme.txt

edd-free-download-text/edd-free-download-text.php Passed 13 tests

"EDD Free Download Text" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
38 characters long description:
Set the text for free download buttons

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin93 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity13.00
▷ Minimum class complexity13.00
▷ Maximum class complexity13.00
Average method complexity2.20
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
▷ Static methods220.00%
▷ Public methods880.00%
▷ Protected methods00.00%
▷ Private methods220.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

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin