Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.91ms] Passed 4 tests
An overview of server-side resources used by Tabs Maker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.37 ▼2.19 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.06 ▼3.61 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.69 ▼1.47 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 94.66 ▼8.36 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.00 ▲0.36 |
Manage tab sets /wp-admin/edit.php?post_type=fs_tabs | 3.29 | 34.46 |
Add new tab set /wp-admin/post-new.php?post_type=fs_tabs | 3.33 | 44.19 |
Server storage [IO: ▲2.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Tabs Maker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,066 ▲331 | 13.78 ▼0.60 | 7.14 ▲5.51 | 40.88 ▲1.46 |
Dashboard /wp-admin | 2,242 ▲51 | 4.89 ▼0.02 | 107.49 ▼9.85 | 42.18 ▼1.91 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 2.06 ▲0.02 | 40.67 ▲2.24 | 37.69 ▲3.17 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 23.25 ▲5.67 | 687.78 ▲30.43 | 62.64 ▲13.03 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▲0.06 | 98.71 ▲3.38 | 46.30 ▲4.24 |
Manage tab sets /wp-admin/edit.php?post_type=fs_tabs | 1,111 | 2.15 | 34.87 | 29.08 |
Add new tab set /wp-admin/post-new.php?post_type=fs_tabs | 2,332 | 7.29 | 150.18 | 110.71 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=fs_tabs
- > Notice in wp-content/plugins/tabs-maker/include/fstm-header-scripts.php+33
Undefined index: post
SRP 50% 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
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-header-scripts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-post-type.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-clone.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tabs-maker/include/fstm-shortcodes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-post-type-custom-fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-maker/include/fstm-scripts_and_styles.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/tabs-maker/tabs.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: tabs plugin, tab plugin, jquery tabs, tabs maker, tabs builder...
tabs-maker/tabs.php 92% from 13 tests
The main file in "Tabs Maker" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tabs-maker.php" instead of "tabs.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin12,052 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 12 | 1,829 | 44 | 4,374 |
SVG | 3 | 0 | 12 | 2,829 |
Sass | 16 | 43 | 34 | 1,869 |
LESS | 16 | 41 | 51 | 1,836 |
PHP | 10 | 188 | 59 | 814 |
JavaScript | 2 | 83 | 21 | 330 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 41 | |
▷ Named functions | 41 | 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
3 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/verticallefttabs.png | 3.55KB | 2.35KB | ▼ 33.93% |
images/image_508_1250.png | 111.66KB | 121.27KB | 0.00% |
images/horizontaltoptabs.png | 7.23KB | 4.59KB | ▼ 36.44% |