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.04MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by Content Update Scheduler
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.30 ▼10.01 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.81 ▼1.46 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.48 ▼3.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.21 ▲0.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 35.98 ▲0.79 |
Scheduled Content Update /wp-admin/options-general.php?page=tsu | 3.23 | 32.22 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Content Update Scheduler
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲61 | 13.17 ▼1.22 | 1.74 ▼0.03 | 40.92 ▼0.83 |
Dashboard /wp-admin | 2,210 ▲25 | 5.83 ▼0.02 | 98.07 ▼6.65 | 43.43 ▼2.40 |
Posts /wp-admin/edit.php | 2,112 ▲20 | 1.98 ▼0.07 | 36.23 ▼6.66 | 30.26 ▼6.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.23 ▲4.83 | 585.38 ▼17.17 | 48.91 ▼13.49 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.26 ▲0.11 | 97.71 ▼2.98 | 41.37 ▼2.37 |
Scheduled Content Update /wp-admin/options-general.php?page=tsu | 826 | 2.03 | 26.32 | 26.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- 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 everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-update-scheduler/content-update-scheduler.php:948
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-update-scheduler/options.php:225
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-update-scheduler/trunk/options.php:225
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/content-update-scheduler/trunk/content-update-scheduler.php:948
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: publication, timing, content, time, publish...
content-update-scheduler/content-update-scheduler.php Passed 13 tests
The main file in "Content Update Scheduler" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
51 characters long description:
Schedule content updates for any page or post type.
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
No dangerous file extensions were detected739 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 139 | 383 | 681 |
JavaScript | 1 | 10 | 0 | 41 |
Markdown | 1 | 4 | 0 | 16 |
CSS | 1 | 0 | 4 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 49.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 68 | 100.00% |
▷ Public methods | 60 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 11.76% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
trunk/images/ui-bg_highlight-hard_100_eeeeee_1x100.png | 0.25KB | 0.14KB | ▼ 43.65% |
images/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
trunk/images/ui-bg_glass_55_fbf8ee_1x400.png | 0.33KB | 0.13KB | ▼ 60.29% |
trunk/images/ui-bg_highlight-soft_15_cc0000_1x100.png | 0.31KB | 0.18KB | ▼ 43.48% |