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.02MB] [CPU: ▼8.15ms] Passed 4 tests
This is a short check of server-side resources used by Post Access Overview
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.70 ▼0.79 |
Dashboard /wp-admin | 3.34 ▼0.01 | 42.69 ▼19.17 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.98 ▲1.74 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.74 ▼13.62 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.57 ▲0.99 |
Post Access Overview /wp-admin/users.php?page=post-access-overview | 3.31 | 32.58 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Access Overview
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.12 ▼1.63 | 1.80 ▼0.10 | 45.80 ▲5.72 |
Dashboard /wp-admin | 2,210 ▲25 | 5.80 ▲0.95 | 93.67 ▼18.67 | 39.09 ▼19.76 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.05 ▲0.01 | 34.20 ▼6.38 | 36.26 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.17 ▼4.97 | 625.31 ▲27.68 | 56.40 ▲4.67 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.16 ▼0.05 | 98.17 ▲1.10 | 43.17 ▼1.97 |
Post Access Overview /wp-admin/users.php?page=post-access-overview | 777 | 1.53 | 6.58 | 22.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/users.php?page=post-access-overview
- > Error in wp-content/plugins/post-access-overview/post-access-overview.php+243
Uncaught Error: Class 'UserAccessManager' not found in wp-content/plugins/post-access-overview/post-access-overview.php:243
Stack trace:
#0 wp-admin/includes/class-wp-list-table.php(1752): PostAccessOverview\PostAccessTable->column_default()
#1 wp-admin/includes/class-wp-list-table.php(1690): WP_List_Table->single_row_columns()
#2 wp-admin/includes/class-wp-list-table.php(1677): WP_List_Table->single_row()
#3 wp-admin/includes/class-wp-list-table.php(1662): WP_List_Table->display_rows()
#4 wp-admin/includes/class-wp-list-table.php(1589): WP_List_Table->display_rows_or_placeholder()
#5 wp-content/plugins/post-access-overview/post-access-overview.php(96): WP_List_Table->display()
#6 wp-content/plugins/post-access-overview/post-access-overview.php(80): PostAccessOverview\show_default_page()
#7 wp-includes/class-wp-hook.php(310): PostAccessOverv
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/post-access-overview/post-access-overview.php on line 41
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/post-access-overview/post-access-overview.php on line 41
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/post-access-overview/post-access-overview.php on line 41
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: logging, log
post-access-overview/post-access-overview.php 92% from 13 tests
This is the main PHP file of "Post Access Overview" version 1..., providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "1...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin162 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 51 | 160 |
CSS | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
There were not PNG files found in your plugin