Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.51ms] Passed 4 tests
Server-side resources used by Admin Menu Post List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 43.07 ▼0.55 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.44 ▼7.90 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 53.68 ▼1.24 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 89.02 ▼19.29 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.65 ▼1.61 |
Post List /wp-admin/options-general.php?page=admin_menu_post_list_settings_page | 3.27 | 34.28 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Admin Menu Post List: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.24 ▼0.17 | 1.87 ▲0.21 | 40.76 ▼0.81 |
Dashboard /wp-admin | 2,204 ▲27 | 5.59 ▼0.08 | 91.52 ▼11.09 | 40.03 ▼4.37 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.02 ▲0.06 | 38.66 ▲4.30 | 37.10 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.21 ▼4.98 | 611.07 ▼49.62 | 60.63 ▲15.51 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.19 ▲0.03 | 98.87 ▼9.01 | 42.92 ▼3.93 |
Post List /wp-admin/options-general.php?page=admin_menu_post_list_settings_page | 1,001 | 2.05 | 25.24 | 28.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/admin-menu-post-list/admin-menu-post-list.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: page, custom post type, admin, admin menu, menu...
admin-menu-post-list/admin-menu-post-list.php Passed 13 tests
The entry point to "Admin Menu Post List" version 2.0.7 is a PHP file that has certain tags in its header comment area
37 characters long description:
Display a post list in the admin menu
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected455 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 151 | 92 | 399 |
CSS | 1 | 0 | 0 | 56 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin