Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.51ms] Passed 4 tests
A check of server-side resources used by TAO Schedule Update
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.05 ▼2.41 |
Dashboard /wp-admin | 3.34 ▼0.00 | 49.63 ▼8.42 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.33 ▲5.33 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.10 ▼16.79 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.25 ▲1.57 |
Scheduled Update /wp-admin/options-general.php?page=tsu | 3.23 | 30.21 |
Server storage [IO: ▲0.66MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for TAO Schedule Update
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.41 | 1.68 ▼0.06 | 43.11 ▼1.01 |
Dashboard /wp-admin | 2,213 ▲28 | 4.88 ▼0.01 | 97.84 ▼18.43 | 38.14 ▼5.38 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.15 ▲0.10 | 39.92 ▲3.97 | 35.03 ▼2.23 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.03 ▼0.04 | 659.06 ▼0.16 | 58.40 ▲2.68 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.28 ▲0.05 | 98.29 ▼1.32 | 44.94 ▼1.03 |
Scheduled Update /wp-admin/options-general.php?page=tsu | 823 | 2.03 | 25.81 | 27.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tao-schedule-update/tao-schedule-update.php:761
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tao-schedule-update/options.php:225
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: schedule, cron, publishing, unattended, timing
tao-schedule-update/tao-schedule-update.php 92% from 13 tests
The main PHP script in "TAO Schedule Update" version 1.15 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected798 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 118 | 335 | 549 |
PO File | 3 | 61 | 71 | 193 |
JavaScript | 1 | 10 | 0 | 41 |
Markdown | 1 | 12 | 0 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 31 | 100.00% |
▷ Public methods | 27 | 87.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.90% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin