Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.45ms] Passed 4 tests
An overview of server-side resources used by Tabby Responsive Tabs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.08 ▼2.66 |
Dashboard /wp-admin | 3.38 ▲0.03 | 53.86 ▼7.86 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.91 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.44 ▼13.20 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.14 ▼0.92 |
Tabby /wp-admin/options-general.php?page=tabby-settings | 3.27 | 34.54 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
cc_tabby_fa_icon_style |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
cc_tabby_tab_title_element |
cc_tabby_default_styles |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Tabby Responsive Tabs
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲50 | 14.48 ▲0.07 | 1.86 ▼0.18 | 44.65 ▼0.14 |
Dashboard /wp-admin | 2,227 ▲24 | 4.87 ▼0.02 | 106.24 ▼7.82 | 37.38 ▼5.33 |
Posts /wp-admin/edit.php | 2,106 ▲2 | 2.00 ▲0.03 | 39.13 ▲1.76 | 34.96 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,423 ▼111 | 17.90 ▼4.98 | 794.49 ▲181.98 | 69.67 ▲19.69 |
Media Library /wp-admin/upload.php | 1,406 ▲9 | 4.25 ▲0.06 | 112.21 ▲8.29 | 50.68 ▲3.44 |
Tabby /wp-admin/options-general.php?page=tabby-settings | 1,177 | 2.04 | 27.31 | 36.34 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: classicpress, responsive, accordion, shortcode, tabs...
tabby-responsive-tabs/tabby-responsive-tabs.php Passed 13 tests
Analyzing the main PHP file in "Tabby Responsive Tabs" version 1.4.1
97 characters long description:
Create responsive tabs inside your posts, pages or custom post types by adding simple shortcodes.
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
Success! There were no dangerous files found in this plugin4,090 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 14 | 728 | 1,475 | 3,321 |
CSS | 3 | 55 | 5 | 334 |
PHP | 4 | 97 | 116 | 317 |
JavaScript | 1 | 59 | 50 | 118 |
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.21 |
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 | 12 | |
▷ Named functions | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tabby.png | 55.55KB | 19.30KB | ▼ 65.26% |