Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.43ms] Passed 4 tests
An overview of server-side resources used by EchBay For CocCoc
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.22 ▼2.85 |
Dashboard /wp-admin | 3.35 ▲0.01 | 46.14 ▼11.75 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.21 ▲0.93 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 86.19 ▼16.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.87 ▲5.28 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 3.24 | 32.64 |
For CocCoc /wp-admin/admin.php?page=echbay-for-coccoc | 3.24 | 33.41 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
EchBay For CocCoc: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.28 ▼1.10 | 1.73 ▲0.08 | 40.21 ▲1.67 |
Dashboard /wp-admin | 2,233 ▲42 | 4.85 ▼0.02 | 106.33 ▲3.74 | 40.84 ▼2.10 |
Posts /wp-admin/edit.php | 2,113 ▲27 | 1.99 ▼0.03 | 39.95 ▲0.27 | 35.51 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,550 ▲33 | 22.95 ▲5.42 | 641.70 ▲24.16 | 55.12 ▲6.84 |
Media Library /wp-admin/upload.php | 1,409 ▲21 | 4.21 ▼0.08 | 94.08 ▲0.41 | 43.41 ▲3.80 |
Webgiare Plugins /wp-admin/admin.php?page=echbay-plugins-menu | 930 | 1.88 | 25.00 | 32.53 |
For CocCoc /wp-admin/admin.php?page=echbay-for-coccoc | 930 | 1.92 | 29.59 | 31.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 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
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (Show in Coc Coc only.), #2 (Setting in admin.)
echbay-for-coccoc/eb.php 77% from 13 tests
The principal PHP file in "EchBay For CocCoc" v. 1.0.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("echbay-for-coccoc.php" instead of "eb.php")
- Domain Path: The domain path folder does not exist ("/languages/")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected257 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 0 | 74 | 251 |
CSS | 2 | 0 | 0 | 2 |
HTML | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin