Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼36.33ms] Passed 4 tests
This is a short check of server-side resources used by Child Order
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.41 ▼0.11 |
Dashboard /wp-admin | 3.01 ▼0.33 | 24.23 ▼40.84 |
Posts /wp-admin/edit.php | 3.01 ▼0.34 | 26.20 ▼21.89 |
Add New Post /wp-admin/post-new.php | 3.01 ▼2.87 | 24.49 ▼71.88 |
Media Library /wp-admin/upload.php | 3.01 ▼0.21 | 23.73 ▼10.70 |
Server storage [IO: ▲0.07MB] [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: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Child Order
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.17 ▼0.20 | 1.99 ▼0.37 | 44.67 ▼13.42 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.07 | 85.77 ▼19.23 | 42.62 ▼0.29 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.06 | 39.72 ▲2.93 | 36.61 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.40 ▲0.36 | 614.59 ▼72.57 | 54.12 ▲2.16 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.01 | 101.90 ▼6.23 | 46.40 ▲0.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/child-order/child-order.php+39
Undefined index: post
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/child-order/child-order.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (The edit screen, with options to drag pages up and down.)
child-order/child-order.php Passed 13 tests
This is the main PHP file of "Child Order" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
80 characters long description:
Adds an admin panel to pages, to rearrange and enable/disable their child pages.
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 plugin162 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 23 | 85 |
JavaScript | 3 | 4 | 3 | 76 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
7 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 46.43KB | 19.47KB | ▼ 58.07% |
images/grip.png | 0.21KB | 0.11KB | ▼ 45.83% |
images/bang-min.png | 2.92KB | 0.31KB | ▼ 89.22% |
images/bang-black-v.png | 3.58KB | 0.72KB | ▼ 79.87% |
images/bang-widget.png | 0.81KB | 1.11KB | 0.00% |