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.16MB] [CPU: ▼11.83ms] Passed 4 tests
A check of server-side resources used by Front Page Scheduler
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.78 ▼0.69 | 15.35 ▼27.79 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.69 ▼4.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 46.72 ▼2.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.22 ▼12.80 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.28 ▼2.22 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Front Page Scheduler
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.32 ▼1.04 | 4.87 ▲3.12 | 39.78 ▼0.48 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲0.00 | 107.66 ▲4.74 | 40.06 ▼3.45 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.10 | 39.45 ▲2.16 | 34.25 ▲3.75 |
Add New Post /wp-admin/post-new.php | 1,542 ▲20 | 18.72 ▼4.57 | 606.74 ▼48.39 | 47.56 ▼10.28 |
Media Library /wp-admin/upload.php | 1,379 ▼12 | 4.36 ▲0.12 | 100.02 ▼2.24 | 46.25 ▼0.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/front-page-scheduler/front-page-scheduler.php:298
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: schedule, front page, cms, frontpage, scheduler
front-page-scheduler/front-page-scheduler.php Passed 13 tests
"Front Page Scheduler" version 0.1.7's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
117 characters long description:
Front Page Scheduler plugin let you choose an alternate static front page to be shown during a specific daily period.
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
Everything looks great! No dangerous files found in this plugin380 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 101 | 166 |
JavaScript | 1 | 10 | 63 | 131 |
PO File | 1 | 32 | 9 | 70 |
Markdown | 1 | 9 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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