Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲2.01ms] Passed 4 tests
An overview of server-side resources used by Prominent Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.35 ▼3.06 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.48 ▼0.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.38 ▲5.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 109.11 ▲9.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.14 ▲6.68 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
pm_prominent_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
pm_prominent_installed |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Prominent Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.56 ▼0.67 | 4.70 ▲2.82 | 40.35 ▼4.86 |
Dashboard /wp-admin | 2,200 ▲18 | 5.82 ▲0.00 | 105.89 ▼1.03 | 41.25 ▲4.61 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.00 | 38.64 ▼3.00 | 36.37 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.37 ▼1.17 | 685.56 ▲42.76 | 47.71 ▼3.67 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▼0.05 | 95.73 ▼7.78 | 45.07 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- can_compress_scripts
- pm_prominent_installed
- theysaidso_admin_options
- pm_prominent_version
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Screenshot_1.png) image required
prominent-manager/prominent.php 77% from 13 tests
The main PHP file in "Prominent Manager" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 352 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("prominent-manager.php" instead of "prominent.php")
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 plugin3,709 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,129 | 2,361 | 3,704 |
JSON | 1 | 0 | 0 | 5 |
JavaScript | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 60.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 551.00 |
Average method complexity | 7.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 108 | |
▷ Static methods | 19 | 17.59% |
▷ Public methods | 105 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.78% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 68 | |
▷ Global constants | 67 | 98.53% |
▷ Class constants | 1 | 1.47% |
▷ Public constants | 1 | 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
No PNG files were detected