Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼2.73ms] Passed 4 tests
This is a short check of server-side resources used by FF Tab Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.98 ▼0.85 |
Dashboard /wp-admin | 3.40 ▲0.10 | 43.91 ▼3.46 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 44.35 ▼1.93 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 90.36 ▼4.69 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.51 ▲5.23 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_ff_tab_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by FF Tab Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 14.08 ▼0.29 | 5.79 ▲3.93 | 37.44 ▼5.80 |
Dashboard /wp-admin | 2,241 ▲50 | 5.01 ▲0.13 | 100.34 ▼0.95 | 40.06 ▼1.06 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.32 ▲0.30 | 36.33 ▼0.72 | 31.37 ▼2.34 |
Add New Post /wp-admin/post-new.php | 1,550 ▲14 | 18.39 ▼4.92 | 623.54 ▼1.38 | 35.80 ▼13.68 |
Media Library /wp-admin/upload.php | 1,426 ▲35 | 4.48 ▲0.27 | 97.28 ▲0.19 | 42.22 ▼0.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
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_ff_tab_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× 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/ff-tab-widget/includes/color-picker.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ff-tab-widget/includes/color-picker.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ff-tab-widget/includes/color-picker.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Widget Setting), #2 (Tab Widget), #3 (FF Tab Widget Settings)
- Contributors: Plugin contributors not specified
ff-tab-widget/ff-tab-widget.php Passed 13 tests
"FF Tab Widget" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
101 characters long description:
Display popular posts, recent posts, recent commets, and tags in an animated tabs in a single widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin876 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 240 | 78 | 373 |
JavaScript | 3 | 33 | 12 | 206 |
LESS | 2 | 32 | 7 | 155 |
CSS | 2 | 0 | 5 | 142 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 6.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 12.28KB | 4.14KB | ▼ 66.31% |
screenshot-1.png | 10.55KB | 6.22KB | ▼ 41.03% |
screenshot-2.png | 30.55KB | 9.84KB | ▼ 67.78% |