Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.96ms] Passed 4 tests
A check of server-side resources used by WP Tabs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.97 ▲0.36 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.13 ▼6.15 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.69 ▼3.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 103.01 ▲1.82 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.79 ▲2.38 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Tabs
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲175 | 13.57 ▼0.57 | 9.04 ▲7.13 | 43.55 ▼6.26 |
Dashboard /wp-admin | 2,203 ▲18 | 6.08 ▲0.18 | 96.17 ▼9.43 | 39.23 ▼4.90 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.02 | 39.62 ▼3.10 | 35.94 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,544 ▲9 | 18.32 ▼4.85 | 598.53 ▼88.44 | 61.95 ▲3.32 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.24 ▲0.04 | 96.94 ▼0.53 | 44.17 ▼2.64 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 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/my-wp-tabs/tabs-functions.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: No valid plugin tags found
- Screenshots: Screenshot #1 (WP Tabs in a post.) image required
- Donate link: Invalid URI ("")
my-wp-tabs/tabs-functions.php 92% from 13 tests
The principal PHP file in "WP Tabs" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("my-wp-tabs.php" instead of "tabs-functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin214 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 7 | 0 | 141 |
PHP | 1 | 26 | 14 | 55 |
JavaScript | 1 | 6 | 3 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 4 | |
▷ Named functions | 4 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tab-bg@2x.png | 1.82KB | 1.32KB | ▼ 27.18% |
images/shortcode_sep@2x.png | 0.97KB | 0.09KB | ▼ 91.18% |
images/tab-bg.png | 1.82KB | 1.32KB | ▼ 27.18% |
images/shortcode_sep.png | 0.97KB | 0.09KB | ▼ 91.18% |