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.04MB] [CPU: ▼4.39ms] Passed 4 tests
Server-side resources used by Gutena Tabs
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 41.47 ▲4.07 |
Dashboard /wp-admin | 3.36 ▲0.01 | 45.95 ▼10.46 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 43.80 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 93.82 ▼9.63 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.07 ▲2.37 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Gutena Tabs: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.28 ▼0.07 | 1.72 ▲0.29 | 42.69 ▲0.49 |
Dashboard /wp-admin | 2,195 ▲21 | 5.59 ▲0.01 | 92.83 ▲6.82 | 41.06 ▼2.99 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.01 ▼0.03 | 33.22 ▼1.15 | 34.15 ▲2.15 |
Add New Post /wp-admin/post-new.php | 6,392 ▲4,865 | 29.23 ▲5.93 | 977.53 ▲295.60 | 44.97 ▼15.36 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.03 | 92.52 ▼18.33 | 44.53 ▼1.51 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #13, #2, #3, #4, #5, #6, #7, #8, #9 in gutena-tabs/assets to your readme.txt
gutena-tabs/gutena-tabs.php 92% from 13 tests
The primary PHP file in "Gutena Tabs" version 1.0.5 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 311 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin504 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 263 |
PHP | 6 | 52 | 135 | 210 |
SVG | 5 | 0 | 0 | 20 |
JavaScript | 4 | 0 | 3 | 7 |
CSS | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 1 | |
▷ Named functions | 1 | 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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/gutena/gutena-ecosys-onboard/assets/cta/bg.png | 6.31KB | 3.12KB | ▼ 50.59% |