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.17MB] [CPU: ▼7.07ms] Passed 4 tests
Server-side resources used by Cron Logger
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 46.19 ▲4.62 |
Dashboard /wp-admin | 3.52 ▲0.18 | 52.54 ▼10.55 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 51.24 ▲1.70 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 84.62 ▼23.31 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 38.57 ▲3.89 |
Cron Logs /wp-admin/tools.php?page=cron-logs | 3.35 | 34.15 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cron_logs |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
_cron_logger_version |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Cron Logger
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.30 ▼0.30 | 1.83 ▲0.15 | 45.33 ▲3.96 |
Dashboard /wp-admin | 2,199 ▲22 | 5.57 ▼0.13 | 95.30 ▲10.53 | 41.37 ▼0.70 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.00 ▲0.05 | 35.72 ▲1.64 | 33.05 ▼2.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼1 | 23.52 ▲0.40 | 659.26 ▼6.15 | 58.69 ▲7.72 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.04 | 94.26 ▼14.09 | 40.31 ▼4.38 |
Cron Logs /wp-admin/tools.php?page=cron-logs | 849 | 1.67 | 22.56 | 24.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function CronLogger\\Components\\plugin_dir_path() in wp-content/plugins/cron-logger/classes/Components/Plugin.php:27
- > PHP Fatal error
Uncaught Error: Class 'CronLogger\\Components\\Update' not found in wp-content/plugins/cron-logger/classes/Updates.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: debug, cron, wp-cron, tool, log
cron-logger/plugin.php 92% from 13 tests
The entry point to "Cron Logger" version 1.2.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("cron-logger.php" instead of "plugin.php")
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
Good job! No executable or dangerous file extensions detected1,178 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 275 | 484 | 1,111 |
PO File | 1 | 16 | 16 | 62 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 9.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 2 | 14.29% |
▷ Concrete classes | 12 | 85.71% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 20 | 22.22% |
▷ Public methods | 87 | 96.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.33% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.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