90% edd-list-file-names

Code Review | EDD List File Names

WordPress plugin EDD List File Names scored90%from 54 tests.

About plugin

  • Plugin page: edd-list-file-names
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3+
  • WordPress version: 6.3.1
  • First release: Jan 23, 2014
  • Latest release: Feb 22, 2014
  • Number of updates: 8
  • Update frequency: every 3.8 days
  • Top authors: sumobi (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

90+ active /3,395 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼2.46ms] Passed 4 tests

This is a short check of server-side resources used by EDD List File Names
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0145.66 ▲5.06
Dashboard /wp-admin3.32 ▲0.0150.27 ▲1.14
Posts /wp-admin/edit.php3.37 ▲0.0148.70 ▼1.98
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.51 ▼8.17
Media Library /wp-admin/upload.php3.24 ▲0.0137.42 ▼0.81

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for EDD List File Names
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲314.27 ▼0.481.71 ▼0.5740.75 ▼2.78
Dashboard /wp-admin2,195 ▲155.56 ▲0.0384.79 ▼16.9735.84 ▼6.05
Posts /wp-admin/edit.php2,097 ▼61.97 ▼0.0136.92 ▲0.1932.83 ▼2.67
Add New Post /wp-admin/post-new.php1,526 ▼223.02 ▼0.20649.25 ▼54.4260.27 ▲3.67
Media Library /wp-admin/upload.php1,403 ▲64.16 ▲0.02101.99 ▼29.0644.30 ▼9.50

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
  • Tested up to: Version not formatted correctly
The official readme.txt might help

edd-list-file-names/edd-list-file-names.php Passed 13 tests

The main PHP file in "EDD List File Names" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
45 characters long description:
Show a download's file names in a simple list

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin61 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1256461

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.42
Average class complexity10.00
▷ Minimum class complexity10.00
▷ Maximum class complexity10.00
Average method complexity2.80
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes1100.00%
Methods5
▷ Static methods120.00%
▷ Public methods360.00%
▷ Protected methods00.00%
▷ Private methods240.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin