Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.35ms] Passed 4 tests
Analyzing server-side resources used by Custom Admin Widget Titles
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.00 | 35.07 ▼5.19 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.33 ▼4.70 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.09 ▼3.07 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 86.27 ▼4.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.80 ▲2.14 |
Server storage [IO: ▲3.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Custom Admin Widget Titles
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲65 | 14.76 ▲0.40 | 1.92 ▼0.31 | 38.41 ▼9.63 |
Dashboard /wp-admin | 2,208 ▲20 | 4.87 ▼1.01 | 106.21 ▲0.53 | 39.61 ▼5.27 |
Posts /wp-admin/edit.php | 2,091 ▼1 | 2.08 ▲0.04 | 41.10 ▼2.29 | 33.87 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,530 ▼5 | 23.41 ▲0.29 | 680.90 ▲6.31 | 62.56 ▲7.62 |
Media Library /wp-admin/upload.php | 1,393 ▲5 | 4.20 ▲0.00 | 98.22 ▼4.68 | 42.30 ▼0.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/custom-admin-widget-titles/custom-admin-widget-titles.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Requires php: The plugin version is formatted incorrectly
- Contributors: The plugin contributors field is missing
- Screenshots: These screenshots require images: #1 (Normally you will have only the Widget type. on the title, but if you have a few of them, it will become hard to identify them.), #2 (With this plugin you will have neat and accurate titles for your widgets.), #3 (The custom title field)
custom-admin-widget-titles/custom-admin-widget-titles.php 85% from 13 tests
The main PHP script in "Custom Admin Widget Titles" version 1.8 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "3")
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5")
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
No dangerous file extensions were detected123 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 10 | 12 | 97 |
JavaScript | 1 | 6 | 1 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 7 | |
▷ Named functions | 7 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected