Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/tab-awesome/tab-awesome.php+48
Constant TAB_AWESOME_NAME already defined
Server metrics [RAM: ▼1.83MB] [CPU: ▼52.83ms] Passed 4 tests
A check of server-side resources used by Tabs Awesome - Reponsive WordPress Tabs Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 5.74 ▼32.40 |
Dashboard /wp-admin | 2.17 ▼1.13 | 5.81 ▼45.05 |
Posts /wp-admin/edit.php | 2.17 ▼1.18 | 5.96 ▼40.93 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.71 | 6.97 ▼92.92 |
Media Library /wp-admin/upload.php | 2.17 ▼1.05 | 6.57 ▼25.39 |
Add New /wp-admin/post-new.php?post_type=tab-awesome | 2.17 | 5.42 |
All Tabs /wp-admin/edit.php?post_type=tab-awesome | 2.17 | 6.53 |
Server storage [IO: ▲10.48MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 561 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tabs Awesome - Reponsive WordPress Tabs Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,121 ▲375 | 18.45 ▲4.05 | 1.92 ▲0.29 | 39.06 ▼2.03 |
Dashboard /wp-admin | 2,533 ▲345 | 9.26 ▲3.43 | 191.58 ▲70.41 | 41.29 ▼6.89 |
Posts /wp-admin/edit.php | 2,478 ▲389 | 6.19 ▲4.16 | 75.26 ▲39.80 | 31.22 ▼4.94 |
Add New Post /wp-admin/post-new.php | 6,311 ▲4,783 | 23.99 ▲6.12 | 920.18 ▲286.24 | 48.12 ▼19.90 |
Media Library /wp-admin/upload.php | 1,583 ▲195 | 6.68 ▲2.48 | 110.69 ▲16.75 | 43.68 ▲1.08 |
Add New /wp-admin/post-new.php?post_type=tab-awesome | 9,559 | 14.74 | 428.86 | 54.28 |
All Tabs /wp-admin/edit.php?post_type=tab-awesome | 1,444 | 6.12 | 75.34 | 27.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/tab-awesome/tab-awesome.php+48
Constant TAB_AWESOME_NAME already defined
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tab-awesome
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/tab-awesome/tab-awesome.php+48
Constant TAB_AWESOME_NAME already defined
SRP 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 136× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Container\\Fulfillable\\Fulfillable' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Container/Fulfillable/Fulfillable_Collection.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Field/Header_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Container/Comment_Meta_Container.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Widget\\Widget' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Term_Condition.php:30
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Carbon_Fields' not found in wp-content/plugins/tab-awesome/vendor/ynacorp/carbon-field-uniqid/field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Field/Gravity_Form_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Field/Textarea_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/tab-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #12, #13, #14, #15, #2, #3, #4, #5, #6, #7, #8, #9 in tab-awesome/assets to your readme.txt
tab-awesome/tab-awesome.php Passed 13 tests
This is the main PHP file of "Tabs Awesome - Reponsive WordPress Tabs Plugin" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Tab Plugin For WordPress By Themes Awesome
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
Success! There were no dangerous files found in this plugin46,612 lines of code in 478 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 3,706 | 1,761 | 18,303 |
JavaScript | 187 | 5,386 | 8,895 | 13,686 |
PHP | 181 | 2,856 | 7,285 | 10,012 |
Sass | 51 | 367 | 0 | 1,936 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 137 | |
▷ Abstract classes | 11 | 8.03% |
▷ Concrete classes | 126 | 91.97% |
▷ Final classes | 1 | 0.79% |
Methods | 973 | |
▷ Static methods | 102 | 10.48% |
▷ Public methods | 794 | 81.60% |
▷ Protected methods | 169 | 17.37% |
▷ Private methods | 10 | 1.03% |
Functions | 132 | |
▷ Named functions | 41 | 31.06% |
▷ Anonymous functions | 91 | 68.94% |
Constants | 40 | |
▷ Global constants | 15 | 37.50% |
▷ Class constants | 25 | 62.50% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
public/img/date-icon.png | 0.14KB | 0.18KB | 0.00% |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |
public/img/timeline-bg.png | 0.08KB | 0.10KB | 0.00% |
public/img/date-icon-vertical.png | 0.95KB | 0.17KB | ▼ 82.60% |