Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.65MB] [CPU: ▼11.13ms] Passed 4 tests
Server-side resources used by Closemarketing Custom Admin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.66 | 43.24 ▲1.88 |
Dashboard /wp-admin | 4.00 ▲0.66 | 46.04 ▼15.73 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 51.78 ▼8.83 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.63 | 80.82 ▼21.82 |
Media Library /wp-admin/upload.php | 3.87 ▲0.64 | 39.95 ▲4.74 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 4.05 | 40.60 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Closemarketing Custom Admin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,580 ▼167 | 14.19 ▼0.09 | 1.50 ▼0.13 | 40.82 ▲2.72 |
Dashboard /wp-admin | 1,988 ▼190 | 5.47 ▼0.14 | 90.35 ▼29.84 | 41.74 ▲0.37 |
Posts /wp-admin/edit.php | 2,044 ▼56 | 1.97 ▲0.03 | 39.31 ▼10.48 | 32.77 ▼18.99 |
Add New Post /wp-admin/post-new.php | 1,504 ▼22 | 20.57 ▼2.67 | 606.74 ▼26.44 | 47.69 ▼9.31 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.25 ▲0.07 | 94.75 ▼4.66 | 38.69 ▼2.06 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,474 | 2.03 | 29.72 | 32.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/closemarketing-custom-admin/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/closemarketing-custom-admin/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/closemarketing-custom-admin/closemarketing-custom-admin.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/closemarketing-custom-admin/includes/genesis.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: custom-admin
closemarketing-custom-admin/closemarketing-custom-admin.php 92% from 13 tests
Analyzing the main PHP file in "Closemarketing Custom Admin" version 1.12.0
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
There were no executable files found in this plugin2,650 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 630 | 1,944 | 2,464 |
PO File | 1 | 60 | 61 | 185 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 41.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 134 | |
▷ Static methods | 5 | 3.73% |
▷ Public methods | 107 | 79.85% |
▷ Protected methods | 23 | 17.16% |
▷ Private methods | 4 | 2.99% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/admin-cortina-fondo.png | 45.19KB | 28.17KB | ▼ 37.67% |