84% edd-changelog

Code Review | EDD Changelog

WordPress plugin EDD Changelog scored84%from 54 tests.

About plugin

  • Plugin page: edd-changelog
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.4
  • WordPress version: 6.3.1
  • First release: Jun 27, 2013
  • Latest release: Feb 8, 2016
  • Number of updates: 6
  • Update frequency: every 159.3 days
  • Top authors: shazahm1@hotmail.com (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

50+ active /2,800 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.12MB] [CPU: ▼7.15ms] Passed 4 tests

An overview of server-side resources used by EDD Changelog
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0843.45 ▲0.70
Dashboard /wp-admin3.37 ▲0.0754.67 ▲2.24
Posts /wp-admin/edit.php3.48 ▲0.1348.35 ▲0.95
Add New Post /wp-admin/post-new.php5.20 ▼0.6864.67 ▼26.58
Media Library /wp-admin/upload.php3.29 ▲0.0739.19 ▼3.68

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded
widget_theysaidso_widget
recovery_mode_email_last_sent
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for EDD Changelog
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,900 ▲13913.47 ▼0.819.06 ▲7.3542.70 ▲1.66
Dashboard /wp-admin2,198 ▲215.62 ▲0.0189.84 ▼12.2439.23 ▼3.17
Posts /wp-admin/edit.php2,100 ▼01.98 ▼0.0333.39 ▼3.5136.16 ▼2.34
Add New Post /wp-admin/post-new.php45 ▼1,4820.42 ▼22.640.09 ▼686.979.09 ▼43.37
Media Library /wp-admin/upload.php1,400 ▼04.22 ▼0.05100.00 ▼0.1767.14 ▲18.83

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-posts
    • recovery_mode_email_last_sent
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-changelog/edd-changelog.php:568

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
2 plugin tags: easy digital downloads, edd

edd-changelog/edd-changelog.php 85% from 13 tests

Analyzing the main PHP file in "EDD Changelog" version 1.1
Please take the time to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Domain Path: The domain path folder was not found ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin561 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP1130182258
CSS44227208
SVG10095

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.25
Average class complexity34.00
▷ Minimum class complexity34.00
▷ Maximum class complexity34.00
Average method complexity2.94
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods17
▷ Static methods1588.24%
▷ Public methods1376.47%
▷ Protected methods00.00%
▷ Private methods423.53%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
PNG images were not found in this plugin