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
Installer ran successfully
Server metrics [RAM: ▼0.11MB] [CPU: ▼7.59ms] Passed 4 tests
Analyzing server-side resources used by Flash Show And Hide Box
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▼0.59 | 22.09 ▼16.25 |
Dashboard /wp-admin | 3.35 ▲0.05 | 47.96 ▼7.66 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.16 ▼1.91 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.79 ▼4.55 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 41.44 ▲3.11 |
Flash Show And Hide Box Options /wp-admin/options-general.php?page=flash-show-and-hide-box/flash-show-and-hide-box.php | 3.24 | 32.25 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
flashshowandhidebox_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Flash Show And Hide Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.77 ▲0.47 | 2.13 ▲0.46 | 43.23 ▲2.68 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.03 | 106.46 ▲0.02 | 37.82 ▼7.28 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 39.06 ▲2.73 | 34.31 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.80 ▲0.29 | 689.48 ▲31.96 | 63.52 ▲10.25 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▼0.04 | 97.24 ▼23.68 | 45.85 ▲1.23 |
Flash Show And Hide Box Options /wp-admin/options-general.php?page=flash-show-and-hide-box/flash-show-and-hide-box.php | 918 | 2.15 | 22.54 | 22.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- flashshowandhidebox_options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× 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/flash-show-and-hide-box/flash-show-and-hide-box.php:24
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (setting), #2 (hide flash state), #3 (show flash state)
flash-show-and-hide-box/flash-show-and-hide-box.php Passed 13 tests
"Flash Show And Hide Box" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
90 characters long description:
Flash Show And Hide Box lets we very convenient embed flash, and control it show and hide.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin322 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 19 | 194 |
Markdown | 2 | 57 | 0 | 90 |
JavaScript | 1 | 0 | 0 | 38 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 8.68KB | 5.52KB | ▼ 36.38% |
screenshot-1.png | 17.00KB | 8.88KB | ▼ 47.75% |
img/donate-with-alipay.png | 4.09KB | 3.17KB | ▼ 22.44% |
screenshot-2.png | 4.21KB | 2.52KB | ▼ 40.25% |