Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.60ms] Passed 4 tests
A check of server-side resources used by Chat BILLmanager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.02 ▲3.24 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.31 ▼4.97 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.08 ▼0.47 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.29 ▼0.19 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.19 ▲4.35 |
Chat BILLmanager /wp-admin/options-general.php?page=chat-billmanager-settings | 3.22 | 33.18 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Chat BILLmanager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.67 ▲0.32 | 2.05 ▲0.29 | 45.52 ▼1.17 |
Dashboard /wp-admin | 2,205 ▲28 | 5.65 ▼0.02 | 87.54 ▼1.09 | 43.58 ▲2.02 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▼0.05 | 33.50 ▼5.27 | 35.57 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.07 ▼0.04 | 624.81 ▼3.19 | 49.53 ▼4.32 |
Media Library /wp-admin/upload.php | 1,410 ▲13 | 4.15 ▲0.01 | 105.42 ▲5.25 | 47.39 ▲3.49 |
Chat BILLmanager /wp-admin/options-general.php?page=chat-billmanager-settings | 1,045 | 2.49 | 44.93 | 29.71 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- 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
Even though everything seems fine, this is not 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/chat-billmanager/settings.php:218
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chat-billmanager/chatbillmanager.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== chat-billmanager ===
)
chat-billmanager/chatbillmanager.php 92% from 13 tests
"Chat BILLmanager" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("chat-billmanager.php" instead of "chatbillmanager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin276 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 40 | 8 | 231 |
PO File | 1 | 11 | 11 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin