80% wpms-cron-list

Code Review | WPMS Cron List

WordPress plugin WPMS Cron List scored80%from 54 tests.

About plugin

  • Plugin page: wpms-cron-list
  • Plugin version: 0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.7-4.1.1
  • WordPress version: 6.3.1
  • First release: Mar 2, 2015
  • Latest release: Mar 2, 2015
  • Number of updates: 2
  • Update frequency: every 1.5 days
  • Top authors: lakrisgubben (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /719 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

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

This is a short check of server-side resources used by WPMS Cron List
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0137.06 ▼0.88
Dashboard /wp-admin3.31 ▲0.0145.47 ▲1.22
Posts /wp-admin/edit.php3.36 ▲0.0145.02 ▲1.75
Add New Post /wp-admin/post-new.php5.89 ▲0.0189.70 ▲6.39
Media Library /wp-admin/upload.php3.23 ▲0.0035.56 ▼0.18

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

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

Browser metrics Passed 4 tests

A check of browser resources used by WPMS Cron List
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.28 ▼1.301.62 ▼0.0742.28 ▲2.07
Dashboard /wp-admin2,203 ▲285.83 ▼0.06103.14 ▼1.9637.33 ▲0.37
Posts /wp-admin/edit.php2,092 ▲32.03 ▼0.0336.71 ▲1.4031.09 ▼0.80
Add New Post /wp-admin/post-new.php1,542 ▲2818.54 ▲1.09604.92 ▼78.2148.02 ▼11.11
Media Library /wp-admin/upload.php1,388 ▼34.17 ▼0.0995.50 ▼1.9539.60 ▼5.01

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Uninstall procedure had uncaught errors
    • > Warning in wp-content/plugins/wpms-cron-list/wpms-cron-list.php+35
    unlink(wp-content/uploads/wpms_cron_list.txt): No such file or directory
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected 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 on the user side

Optimizations

Plugin configuration 96% 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
1 plugin tags: cron

wpms-cron-list/wpms-cron-list.php 92% from 13 tests

Analyzing the main PHP file in "WPMS Cron List" version 0.1
It is important to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 230 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected30 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1102230

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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
There are no PNG files in this plugin