90% multisite-system-cron

Code Review | MultiSite System Cron

WordPress plugin MultiSite System Cron scored 90% from 54 tests.

About plugin

  • Plugin page: multisite-system-...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3.2-4.2.2
  • WordPress version: 6.3.1
  • First release: Jul 15, 2015
  • Latest release: Jul 15, 2015
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: pauiglesias (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

10+ active / 2,086 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

A check of server-side resources used by MultiSite System Cron
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.71 ▼8.50
Dashboard /wp-admin3.31 ▲0.0046.55 ▼1.35
Posts /wp-admin/edit.php3.36 ▲0.0049.52 ▲2.94
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.80 ▼2.01
Media Library /wp-admin/upload.php3.23 ▲0.0035.38 ▲1.61

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options
db_upgraded

Browser metrics Passed 4 tests

Checking browser requirements for MultiSite System Cron
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.60 ▼0.781.88 ▼0.2742.05 ▼9.11
Dashboard /wp-admin2,206 ▲184.88 ▼1.01106.54 ▼8.2840.65 ▼6.50
Posts /wp-admin/edit.php2,089 ▼02.02 ▼0.0240.43 ▲6.3234.28 ▼1.56
Add New Post /wp-admin/post-new.php1,542 ▲923.25 ▲0.14671.52 ▼19.2157.54 ▲6.13
Media Library /wp-admin/upload.php1,388 ▼04.25 ▲0.0297.15 ▼11.2843.64 ▼2.41

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 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 Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: scheduling, schedule, linux, cron, system...

multisite-system-cron/multisite-system-cron.php 92% from 13 tests

This is the main PHP file of "MultiSite System Cron" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin371 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3131117256
PO File13437115

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.57
Average class complexity40.50
▷ Minimum class complexity34.00
▷ Maximum class complexity47.00
Average method complexity10.88
▷ Minimum method complexity1.00
▷ Maximum method complexity40.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods8
▷ Static methods787.50%
▷ Public methods675.00%
▷ Protected methods00.00%
▷ Private methods225.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

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