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.01MB] [CPU: ▼4.06ms] Passed 4 tests
An overview of server-side resources used by Tabs Block
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.51 ▼5.66 |
Dashboard /wp-admin | 3.31 ▲0.01 | 49.03 ▼2.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 51.45 ▲7.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.15 ▼12.92 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.04 ▲4.50 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Tabs Block
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲187 | 13.82 ▼0.55 | 5.65 ▲3.86 | 39.63 ▼7.26 |
Dashboard /wp-admin | 2,209 ▲18 | 5.87 ▲0.94 | 103.97 ▼18.72 | 38.40 ▼6.39 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▲0.04 | 35.13 ▼0.39 | 31.04 ▼1.72 |
Add New Post /wp-admin/post-new.php | 6,583 ▲5,069 | 29.15 ▲11.65 | 904.59 ▲236.06 | 55.80 ▼15.94 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.16 ▼0.03 | 95.68 ▼5.00 | 42.69 ▼2.02 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tabs-block/tabs-block.php:113
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: A description for screenshot #3 is required in tabs-block/assets to your readme.txt
- Screenshots: Please add an image for screenshot #4 (Tab Block)
tabs-block/tabs-block.php Passed 13 tests
The entry point to "Tabs Block" version 1.0.0 is a PHP file that has certain tags in its header comment area
139 characters long description:
Tabs Block is a simple plugin that adds a Gutenberg block for adding Tabs content to your posts and pages. Fully responsive and accessible.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin197 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 23 | 0 | 88 |
CSS | 1 | 9 | 0 | 63 |
PHP | 1 | 25 | 43 | 46 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG files were detected