Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/checks-for-administrators/checks-for-administrators.php+162
syntax error, unexpected 'else' (T_ELSE), expecting end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.93ms] Passed 4 tests
A check of server-side resources used by Checks for Administrators
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.92 ▼6.23 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.37 ▼15.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.39 ▼0.37 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.99 ▲2.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.56 ▼1.64 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Checks for Administrators
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.23 ▼0.04 | 1.60 ▼0.23 | 41.39 ▼5.27 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.02 | 94.65 ▼4.06 | 42.56 ▼2.90 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.05 | 41.60 ▲2.07 | 37.76 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.25 ▲0.08 | 590.44 ▼60.45 | 70.52 ▲8.31 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▲0.08 | 99.60 ▲1.49 | 41.81 ▼1.62 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/checks-for-administrators/inc/checks.php:7
- > PHP Parse error
syntax error, unexpected 'else' (T_ELSE), expecting end of file in wp-content/plugins/checks-for-administrators/checks-for-administrators.php on line 162
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (A checks inside a table, as seen to your users), #2 (Checks for Administrators viewed from the administation section)
checks-for-administrators/checks-for-administrators.php Passed 13 tests
The main PHP file in "Checks for Administrators" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
131 characters long description:
Checks for Administrators is an open source solution built for Wordpress to display several check lists puts for the administrator.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin344 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 43 | 248 |
PO File | 1 | 43 | 93 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/checks/3CP_uncheck.png | 1.62KB | 0.71KB | ▼ 56.13% |
screenshot-1.png | 53.83KB | 30.56KB | ▼ 43.23% |
img/checks/3CP_check.png | 1.65KB | 0.60KB | ▼ 63.77% |
img/checks/RCP_uncheck.png | 2.11KB | 1.23KB | ▼ 41.59% |
img/checks/BCP_check.png | 3.63KB | 1.62KB | ▼ 55.33% |