Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/filter-pages-by-parent-in-admin/filter-pages-by-parent-in-admin.php+81
Undefined index: post_type
Server metrics [RAM: ▼1.97MB] [CPU: ▼58.17ms] Passed 4 tests
A check of server-side resources used by Filter Pages by parent in admin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.68 ▼38.94 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.96 ▼54.32 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.45 ▼44.87 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.87 ▼94.56 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.37 ▼31.81 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Filter Pages by parent in admin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.40 ▲0.13 | 1.70 ▼0.29 | 43.53 ▼0.37 |
Dashboard /wp-admin | 2,189 ▲9 | 5.58 ▼0.08 | 85.94 ▼6.92 | 38.02 ▼7.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.03 | 40.76 ▲3.02 | 37.12 ▼0.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.98 ▼0.32 | 690.84 ▲23.62 | 51.30 ▼1.01 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.01 | 107.99 ▼1.01 | 47.68 ▼3.05 |
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
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/filter-pages-by-parent-in-admin/filter-pages-by-parent-in-admin.php+81
Undefined index: post_type
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_post_type_hierarchical() in wp-content/plugins/filter-pages-by-parent-in-admin/filter-pages-by-parent-in-admin.php:81
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (The filter select box (the right most option box))
filter-pages-by-parent-in-admin/filter-pages-by-parent-in-admin.php Passed 13 tests
The entry point to "Filter Pages by parent in admin" version 1.3 is a PHP file that has certain tags in its header comment area
45 characters long description:
Filter pages in wp-admin by their parent page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin73 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 9 | 56 |
XML | 1 | 0 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 7.38KB | 4.01KB | ▼ 45.62% |