Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼146.99ms] Passed 4 tests
This is a short check of server-side resources used by Integration of Simple Custom Post Order and WP Rocket
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 32.59 ▼2.68 |
Dashboard /wp-admin | 3.06 ▲0.01 | 41.31 ▼5.90 |
Posts /wp-admin/edit.php | 3.11 ▲0.01 | 45.04 ▼0.91 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 88.89 ▼576.92 |
Media Library /wp-admin/upload.php | 3.01 ▲0.00 | 32.07 ▼2.47 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Integration of Simple Custom Post Order and WP Rocket: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲107 | 16.33 ▲0.68 | 8.85 ▼2.46 | 46.17 ▼7.72 |
Dashboard /wp-admin | 2,967 ▲36 | 5.86 ▼0.38 | 142.87 ▼18.52 | 107.30 ▲3.07 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.01 | 63.65 ▼1.25 | 87.25 ▲4.41 |
Add New Post /wp-admin/post-new.php | 1,615 ▲11 | 21.48 ▲2.62 | 300.66 ▼87.80 | 105.25 ▼2.34 |
Media Library /wp-admin/upload.php | 1,733 ▼74 | 5.00 ▲0.01 | 180.72 ▲27.94 | 116.64 ▲6.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× 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/scpo-wp-rocket-integration/scpo-wp-rocket-integration.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Contributors: Contributors not specified
scpo-wp-rocket-integration/scpo-wp-rocket-integration.php Passed 13 tests
"Integration of Simple Custom Post Order and WP Rocket" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Automatically cleans the WP Rocket cache when the posts order is changed
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin7 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 13 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin