Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.63ms] Passed 4 tests
Analyzing server-side resources used by Jeba Cute Tab
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.98 ▼6.76 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.44 ▼10.40 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.35 ▼0.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.67 ▼5.32 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.31 ▲1.73 |
JebaTabs /wp-admin/edit.php?post_type=jeba-tab-items | 3.32 | 37.76 |
Add New /wp-admin/post-new.php?post_type=jeba-tab-items | 3.40 | 54.09 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jeba-tab-items | 3.26 | 33.64 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jeba-tab-items | 3.26 | 40.56 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
category_children |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Jeba Cute Tab
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲188 | 13.44 ▼1.11 | 8.84 ▲7.06 | 46.78 ▼4.11 |
Dashboard /wp-admin | 2,234 ▲54 | 5.65 ▲0.05 | 97.71 ▼1.64 | 39.13 ▼4.54 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.04 ▲0.06 | 40.38 ▲2.27 | 37.33 ▲2.69 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 18.17 ▼4.78 | 597.22 ▼92.55 | 69.43 ▲15.44 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.19 ▼0.07 | 96.98 ▼11.80 | 45.15 ▼0.37 |
JebaTabs /wp-admin/edit.php?post_type=jeba-tab-items | 1,158 | 1.95 | 33.12 | 32.26 |
Add New /wp-admin/post-new.php?post_type=jeba-tab-items | 2,395 | 7.86 | 181.88 | 62.69 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=jeba-tab-items | 1,358 | 2.25 | 31.96 | 30.00 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=jeba-tab-items | 1,491 | 2.25 | 28.77 | 34.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- category_children
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jeba-cute-tab/jeba-tab-index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Installed in demo server.), #2 (Another demo.)
- Contributors: The plugin contributors field is not present
jeba-cute-tab/jeba-tab-index.php 85% from 13 tests
This is the main PHP file of "Jeba Cute Tab" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("jeba-cute-tab.php" instead of "jeba-tab-index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 337 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected459 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 14 | 158 |
CSS | 1 | 26 | 3 | 156 |
JavaScript | 2 | 20 | 18 | 145 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin