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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.32ms] Passed 4 tests
A check of server-side resources used by Admin Posts Grid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.34 ▼7.38 |
Dashboard /wp-admin | 3.36 ▲0.05 | 50.50 ▼0.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 47.49 ▼3.86 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 87.08 ▼9.11 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.71 ▲0.97 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Posts Grid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.37 ▼0.18 | 2.01 ▲0.07 | 42.38 ▼3.50 |
Dashboard /wp-admin | 2,207 ▲33 | 5.54 ▼0.09 | 86.86 ▲0.69 | 43.07 ▲5.47 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.06 ▲0.04 | 41.23 ▲1.88 | 35.22 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,562 ▲17 | 23.14 ▼0.01 | 646.73 ▼23.28 | 72.61 ▲17.01 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.31 ▲0.11 | 98.35 ▼20.95 | 43.80 ▼3.56 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/admin-posts-grid/includes/class-wp-list-grid.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/admin-posts-grid/includes/wp-admin/edit.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Grid' not found in wp-content/plugins/admin-posts-grid/includes/class-wp-posts-list-grid.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
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
8 plugin tags: posts grid, grid, admin grid, admin theme, posts list...
admin-posts-grid/admin-grid.php 92% from 13 tests
The main file in "Admin Posts Grid" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("admin-posts-grid.php" instead of "admin-grid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,653 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 565 | 796 | 2,059 |
JavaScript | 1 | 96 | 200 | 333 |
CSS | 1 | 59 | 12 | 261 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 240.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 53.33% |
▷ Protected methods | 25 | 41.67% |
▷ Private methods | 3 | 5.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin