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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.32ms] Passed 4 tests
A check of server-side resources used by Smarty Slick Tab
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 50.09 ▲8.59 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.15 ▼15.43 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 49.46 ▲2.25 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 90.34 ▲7.56 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.47 ▲4.35 |
Smarty Slick Tab /wp-admin/options-general.php?page=slick-tab/slick-tab | 3.28 | 483.08 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 40 new options
New WordPress options |
---|
slick_tab_tab_title_close |
slick_tab_window_url |
slick_tab_credentials |
slick_tab_open_top |
slick_tab_borders |
slick_tab_template_pick |
slick_tab_tab_title_open |
slick_tab_tab_width |
slick_tab_list_pick |
slick_tab_animation_speed |
... |
Browser metrics Passed 4 tests
Smarty Slick Tab: 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 / | 3,007 ▲261 | 13.83 ▼0.47 | 14.84 ▲13.12 | 43.64 ▼4.22 |
Dashboard /wp-admin | 2,227 ▲36 | 4.99 ▼0.87 | 109.29 ▲8.29 | 36.43 ▼7.47 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.24 ▲0.18 | 39.87 ▼2.29 | 36.72 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,523 ▼19 | 23.18 ▲0.14 | 679.22 ▲6.84 | 58.18 ▼13.99 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.29 ▲0.07 | 102.10 ▼2.89 | 46.51 ▲0.22 |
Smarty Slick Tab /wp-admin/options-general.php?page=slick-tab/slick-tab | 1,515 | 2.32 | 39.68 | 31.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/smarty-slick-tab/templates/WPLogin.php
- > /wp-content/plugins/smarty-slick-tab/templates/Subscribe.php
- > /wp-content/plugins/smarty-slick-tab/templates/Widget.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/smarty-slick-tab/slick-tab.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=slick-tab/slick-tab
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=slick-tab%2Fslick-tab 325:47 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 93% 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 19 tag instead of maximum 10
smarty-slick-tab/slick-tab.php 92% from 13 tests
The principal PHP file in "Smarty Slick Tab" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("smarty-slick-tab.php" instead of "slick-tab.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,372 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 108 | 140 | 842 |
JavaScript | 3 | 10 | 43 | 337 |
CSS | 3 | 15 | 63 | 193 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 34.50 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star.png | 0.74KB | 0.62KB | ▼ 15.98% |
images/SlickTab.png | 1.58KB | 1.34KB | ▼ 14.68% |