84% c4d-edd-download-time

Code Review | C4D Edd Download Time

WordPress plugin C4D Edd Download Time scored84%from 54 tests.

About plugin

  • Plugin page: c4d-edd-download-...
  • Plugin version: 4.5.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.5.1
  • WordPress version: 6.3.1
  • First release: Nov 9, 2016
  • Latest release: Nov 16, 2016
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: coffee4dev (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /694 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼3.24ms] Passed 4 tests

Server-side resources used by C4D Edd Download Time
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0342.82 ▲5.68
Dashboard /wp-admin3.32 ▲0.0247.44 ▼1.13
Posts /wp-admin/edit.php3.37 ▲0.0243.35 ▼5.16
Add New Post /wp-admin/post-new.php5.90 ▲0.0277.40 ▼9.39
Media Library /wp-admin/upload.php3.24 ▲0.0134.85 ▲2.72

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for C4D Edd Download Time
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,897 ▲13613.44 ▼0.779.23 ▲7.5041.49 ▲1.15
Dashboard /wp-admin2,189 ▲125.55 ▼0.1185.00 ▼0.2638.08 ▼6.62
Posts /wp-admin/edit.php2,100 ▼02.00 ▲0.0435.56 ▼4.5835.20 ▲0.05
Add New Post /wp-admin/post-new.php1,535 ▲918.30 ▼4.81614.75 ▼46.4167.86 ▲15.23
Media Library /wp-admin/upload.php1,400 ▼04.30 ▲0.1694.34 ▼11.9344.69 ▼5.08

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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
Please fix the following items
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/c4d-edd-download-time/c4d-edd-downloadtime.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: 100

c4d-edd-download-time/c4d-edd-downloadtime.php 85% from 13 tests

The entry point to "C4D Edd Download Time" version 4.5.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("c4d-edd-download-time.php" instead of "c4d-edd-downloadtime.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin64 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP11952
JavaScript1009
CSS1003

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.25
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin