Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.69MB] [CPU: ▼36.18ms] Passed 4 tests
A check of server-side resources used by App Performance Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 40.82 ▼4.69 |
Dashboard /wp-admin | 3.26 ▼0.08 | 23.06 ▼34.13 |
Posts /wp-admin/edit.php | 3.26 ▼0.09 | 26.04 ▼23.61 |
Add New Post /wp-admin/post-new.php | 3.26 ▼2.62 | 26.12 ▼76.76 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 24.88 ▼10.22 |
Users /wp-admin/admin.php?page=users_check | 3.26 | 23.95 |
Cron /wp-admin/admin.php?page=cron_check | 3.26 | 27.40 |
Pantheon Check /wp-admin/admin.php?page=app-perf-check | 3.26 | 23.68 |
Filesystem /wp-admin/admin.php?page=fs_check | 3.26 | 23.79 |
Posts Table /wp-admin/admin.php?page=posts_check | 3.26 | 20.41 |
Plugins /wp-admin/admin.php?page=plugin_check | 3.26 | 25.57 |
Database /wp-admin/admin.php?page=db_check | 3.26 | 23.00 |
WP Options Check /wp-admin/admin.php?page=autoload_check | 3.26 | 24.09 |
Terms /wp-admin/admin.php?page=terms_check | 3.26 | 24.96 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
speed_up_optimizeversion |
can_compress_scripts |
plg1_cb_reset |
Browser metrics Passed 4 tests
An overview of browser requirements for App Performance Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲102 | 14.80 ▲0.56 | 1.73 ▼0.12 | 43.76 ▲3.43 |
Dashboard /wp-admin | 2,276 ▲99 | 5.69 ▲0.03 | 96.51 ▲11.36 | 38.41 ▼1.26 |
Posts /wp-admin/edit.php | 2,191 ▲91 | 2.07 ▲0.04 | 41.74 ▲3.41 | 35.98 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 23.47 ▲0.21 | 666.80 ▼17.30 | 61.00 ▲11.30 |
Media Library /wp-admin/upload.php | 1,484 ▲87 | 4.27 ▲0.09 | 94.32 ▼6.70 | 42.95 ▼0.48 |
Users /wp-admin/admin.php?page=users_check | 28 | 0.42 | 0.09 | 3.93 |
Cron /wp-admin/admin.php?page=cron_check | 28 | 0.42 | 0.06 | 3.74 |
Pantheon Check /wp-admin/admin.php?page=app-perf-check | 957 | 1.79 | 22.85 | 25.70 |
Filesystem /wp-admin/admin.php?page=fs_check | 28 | 0.42 | 0.07 | 3.21 |
Posts Table /wp-admin/admin.php?page=posts_check | 28 | 0.42 | 0.07 | 3.28 |
Plugins /wp-admin/admin.php?page=plugin_check | 28 | 0.42 | 0.07 | 3.64 |
Database /wp-admin/admin.php?page=db_check | 28 | 0.42 | 0.11 | 4.12 |
WP Options Check /wp-admin/admin.php?page=autoload_check | 28 | 0.42 | 0.09 | 3.90 |
Terms /wp-admin/admin.php?page=terms_check | 28 | 0.42 | 0.06 | 3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- Zombie WordPress options were found after uninstall: 8 options
- plg1_cb_reset
- speed_up_optimizeversion
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=terms_check
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=users_check
- > Network (severe)
wp-admin/admin.php?page=users_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=cron_check
- > Network (severe)
wp-admin/admin.php?page=cron_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=fs_check
- > Network (severe)
wp-admin/admin.php?page=fs_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=posts_check
- > Network (severe)
wp-admin/admin.php?page=posts_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=plugin_check
- > Network (severe)
wp-admin/admin.php?page=plugin_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=db_check
- > Network (severe)
wp-admin/admin.php?page=db_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=autoload_check
- > Network (severe)
wp-admin/admin.php?page=autoload_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=terms_check
- > Network (severe)
wp-admin/admin.php?page=terms_check - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: plugin, wordpress
speed-up-optimize-tool/speed-up-optimize.php 69% from 13 tests
The primary PHP file in "App Performance Tool" version 1.0.10 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.9" instead of "4.0")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("speed-up-optimize-tool.php" instead of "speed-up-optimize.php")
- Description: Please use more than 10 characters for the plugin description (currently 0 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,158 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 315 | 673 | 1,104 |
JavaScript | 4 | 16 | 6 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 21.60 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 60.00 |
Average method complexity | 2.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 2 | 2.90% |
▷ Public methods | 67 | 97.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.90% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin