Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼3.94ms] Passed 4 tests
Analyzing server-side resources used by Admin Posts Manager - Posts manager for your posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 40.36 ▼1.16 |
Dashboard /wp-admin | 3.58 ▲0.24 | 49.59 ▼14.32 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.92 ▲5.19 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 85.95 ▼5.47 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.92 ▲6.80 |
Server storage [IO: ▲0.63MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Posts Manager - Posts manager for your posts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.44 ▲0.39 | 1.88 ▼0.06 | 42.64 ▼0.39 |
Dashboard /wp-admin | 2,218 ▲33 | 4.85 ▼0.97 | 104.68 ▼2.21 | 38.91 ▼7.48 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.01 ▼0.03 | 38.59 ▲3.67 | 34.39 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 18.46 ▼4.58 | 589.76 ▼46.91 | 58.79 ▲3.08 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.19 ▼0.07 | 96.13 ▼9.41 | 42.27 ▼5.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- 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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'APM\\Core\\CMS' not found in wp-content/plugins/admin-posts-manager/includes/init.php:24
- > 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 on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: posts manager, admin posts manager, advanced posts manager, posts
admin-posts-manager/admin-posts-manager.php 85% from 13 tests
The primary PHP file in "Admin Posts Manager - Posts manager for your posts" version 0.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder does not exist ("/languages")
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
Everything looks great! No dangerous files found in this plugin1,901 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 309 | 449 | 1,325 |
CSS | 1 | 116 | 0 | 571 |
JSON | 1 | 0 | 0 | 5 |
JavaScript | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 20.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 33 | 42.31% |
▷ Public methods | 70 | 89.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.26% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin