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
Install script ran successfully
Server metrics [RAM: ▲1.33MB] [CPU: ▲8.71ms] Passed 4 tests
Server-side resources used by XLTab - Accordions and Tabs for Elementor Page Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.86 | 36.46 ▼4.23 |
Dashboard /wp-admin | 4.79 ▲1.48 | 59.96 ▲12.60 |
Posts /wp-admin/edit.php | 4.84 ▲1.48 | 54.97 ▲10.02 |
Add New Post /wp-admin/post-new.php | 7.37 ▲1.48 | 121.08 ▲22.61 |
Media Library /wp-admin/upload.php | 4.71 ▲1.48 | 50.42 ▲16.46 |
Server storage [IO: ▲1.68MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 181 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
xltab |
widget_recent-posts |
theysaidso_admin_options |
xl_tab_library |
can_compress_scripts |
db_upgraded |
plugin_activation_time |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for XLTab - Accordions and Tabs for Elementor Page Builder
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,512 ▼223 | 13.61 ▼0.95 | 0.48 ▼1.62 | 18.49 ▼20.70 |
Dashboard /wp-admin | 2,265 ▲77 | 4.86 ▼0.06 | 97.06 ▼9.57 | 36.74 ▼3.50 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.05 ▲0.03 | 41.24 ▲4.51 | 38.68 ▲2.00 |
Add New Post /wp-admin/post-new.php | 1,565 ▲45 | 22.97 ▼0.06 | 604.24 ▼94.69 | 74.14 ▲13.41 |
Media Library /wp-admin/upload.php | 1,444 ▲59 | 4.25 ▲0.05 | 96.59 ▲1.50 | 45.35 ▼4.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- xl_tab_library
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- plugin_activation_time
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- xltab
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/xl-tab/widgets/tab1/view.php
- > /wp-content/plugins/xl-tab/widgets/tab-vertical/view.php
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab-vertical/view.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab1/view.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab-vertical/view.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/xl-tab/widgets/tab1/view.php on line 32
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab1/view.php on line 32
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab-vertical/view.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/xl-tab/widgets/tab1/view.php on line 3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/xl-tab/widgets/tab-switch/view.php:3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/xl-tab/widgets/tab1/view.php on line 3
- > PHP Notice
Undefined variable: settings in wp-content/plugins/xl-tab/widgets/tab-vertical/view.php on line 3
- > PHP Notice
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: tab, accordion, elementor, faq
xl-tab/index.php 92% from 13 tests
The main PHP script in "XLTab - Accordions and Tabs for Elementor Page Builder" version 1.3 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("xl-tab.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected37,352 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 3,930 | 1,425 | 17,415 |
PO File | 21 | 3,044 | 3,421 | 6,213 |
Sass | 15 | 952 | 3 | 4,811 |
CSS | 8 | 309 | 493 | 4,592 |
JavaScript | 8 | 1,330 | 374 | 4,319 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 22.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 5.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 2 | 2.86% |
▷ Concrete classes | 68 | 97.14% |
▷ Final classes | 1 | 1.47% |
Methods | 316 | |
▷ Static methods | 51 | 16.14% |
▷ Public methods | 300 | 94.94% |
▷ Protected methods | 9 | 2.85% |
▷ Private methods | 7 | 2.22% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.03MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/banner.png | 29.17KB | 30.71KB | 0.00% |
admin/framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |