Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.90ms] Passed 4 tests
This is a short check of server-side resources used by WpRightOnTime
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.44 ▼2.85 |
Dashboard /wp-admin | 3.45 ▲0.10 | 49.67 ▼6.84 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 44.38 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.96 ▼12.67 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 38.52 ▲5.41 |
WpRightOnTime /wp-admin/options-general.php?page=wprightontime | 3.34 | 39.36 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WpRightOnTime
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.17 ▼0.18 | 1.90 ▲0.33 | 42.65 ▲0.34 |
Dashboard /wp-admin | 2,204 ▲27 | 5.67 ▼0.02 | 93.25 ▲7.56 | 44.71 ▲5.87 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.02 ▲0.02 | 35.06 ▲1.17 | 35.20 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,537 ▼0 | 23.24 ▲4.96 | 657.48 ▲9.18 | 55.48 ▼28.09 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.21 ▲0.01 | 97.23 ▼4.36 | 40.40 ▼6.14 |
WpRightOnTime /wp-admin/options-general.php?page=wprightontime | 788 | 1.68 | 25.61 | 26.17 |
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-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
- 18× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wprightontime/Wprightontime/Process/CallFormProcess.php
- > /wp-content/plugins/wprightontime/Wprightontime/Table/JobTable.php
- > /wp-content/plugins/wprightontime/Wprightontime/Wprightontime.php
- > /wp-content/plugins/wprightontime/Wprightontime/Views/calls.php
- > /wp-content/plugins/wprightontime/Wprightontime/Http/WprotHttp.php
- > /wp-content/plugins/wprightontime/Wprightontime/Settings/Settings.php
- > /wp-content/plugins/wprightontime/Wprightontime/Admin/Admin.php
- > /wp-content/plugins/wprightontime/Wprightontime/Views/settings.php
- > /wp-content/plugins/wprightontime/Wprightontime/Table/ReportTable.php
- > /wp-content/plugins/wprightontime/Wprightontime/Table/ScheduleTable.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wprightontime/Wprightontime/Views/no-settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wprightontime, wp cron, webcron, cron, scheduler
wprightontime/wprightontime.php Passed 13 tests
Analyzing the main PHP file in "WpRightOnTime" version 1.1.0
39 characters long description:
Every WordPress schedule rigth on time!
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
There were no executable files found in this plugin1,407 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 304 | 367 | 1,314 |
JavaScript | 1 | 21 | 1 | 93 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 8.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 4 | 25.00% |
Methods | 81 | |
▷ Static methods | 12 | 14.81% |
▷ Public methods | 73 | 90.12% |
▷ Protected methods | 4 | 4.94% |
▷ Private methods | 4 | 4.94% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected