Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.39MB] [CPU: ▼48.90ms] Passed 4 tests
An overview of server-side resources used by Tabs & Sliders
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.15 | 42.76 ▲2.27 |
Dashboard /wp-admin | 2.60 ▼0.78 | 13.92 ▼50.38 |
Posts /wp-admin/edit.php | 2.60 ▼0.79 | 13.40 ▼35.11 |
Add New Post /wp-admin/post-new.php | 2.60 ▼3.32 | 12.53 ▼88.03 |
Media Library /wp-admin/upload.php | 2.60 ▼0.66 | 12.35 ▼22.09 |
Server storage [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: no files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_tabs-sliders-by-bestaddon |
Browser metrics Passed 4 tests
Tabs & Sliders: 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,800 ▲54 | 13.31 ▼1.07 | 1.66 ▼0.15 | 45.86 ▲6.45 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▼0.07 | 99.25 ▼16.56 | 41.47 ▼2.84 |
Posts /wp-admin/edit.php | 2,068 ▼21 | 1.97 ▼0.01 | 34.50 ▼0.90 | 31.36 ▼5.94 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 23.55 ▲0.27 | 584.94 ▼58.35 | 54.61 ▲5.44 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.01 | 96.53 ▼3.13 | 42.41 ▼1.48 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function register_post_type was called incorrectly. Post type names must be between 1 and 20 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.)
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_tabs-sliders-by-bestaddon
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
No tags were found
tabs-sliders-by-bestaddon/ba-tabs.php 92% from 13 tests
The primary PHP file in "Tabs & Sliders" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tabs-sliders-by-bestaddon.php" instead of "ba-tabs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,788 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 85 | 174 | 1,347 |
PHP | 6 | 113 | 175 | 930 |
CSS | 6 | 16 | 22 | 311 |
INI | 1 | 2 | 0 | 198 |
HTML | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 37 | 62.71% |
▷ Public methods | 59 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin