Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.65MB] [CPU: ▼3.19ms] Passed 4 tests
This is a short check of server-side resources used by SWFPut - SWFlash Put
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 36.59 ▲1.03 |
Dashboard /wp-admin | 3.97 ▲0.67 | 47.08 ▼1.75 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 50.02 ▲4.15 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.72 | 89.69 ▼16.20 |
Media Library /wp-admin/upload.php | 3.88 ▲0.66 | 40.67 ▲8.39 |
SWFPut Plugin /wp-admin/options-general.php?page=swfput1_settings_page | 3.81 | 35.98 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 52 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
_evh_swfput1_opt_grp |
widget_swf_put_widget_evh |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SWFPut - SWFlash Put
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.96 ▼0.28 | 8.29 ▲6.53 | 39.34 ▼0.50 |
Dashboard /wp-admin | 2,196 ▲22 | 5.54 ▼0.05 | 82.82 ▼5.20 | 37.34 ▼7.59 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.01 ▼0.01 | 36.90 ▼3.57 | 35.24 ▼0.97 |
Add New Post /wp-admin/post-new.php | 6,626 ▲5,100 | 25.95 ▲2.90 | 896.10 ▲229.19 | 66.33 ▲9.27 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.23 ▲0.05 | 94.95 ▼6.04 | 43.81 ▼0.53 |
SWFPut Plugin /wp-admin/options-general.php?page=swfput1_settings_page | 1,169 | 1.69 | 23.30 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_swf_put_widget_evh
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/swfput/js/putswf_tpl.php
- > /wp-content/plugins/swfput/mce_ifm.php
- > /wp-content/plugins/swfput/evhflv/mingput.php
- > /wp-content/plugins/swfput/swfput.php
- 97× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: pixelaspect in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 208
- > PHP Notice
Undefined variable: menudeblock5 in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 800
- > PHP Notice
Undefined variable: barshowincr in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 101
- > PHP Notice
Undefined variable: doloop in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 75
- > PHP Notice
Undefined variable: swfvs in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 73
- > PHP Notice
Undefined variable: connrejecthtml in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 118
- > PHP Notice
Undefined variable: barheight in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 81
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/swfput/php-inc/xed_form.php:37
- > PHP Notice
Undefined variable: progressbarlength in wp-content/plugins/swfput/evhflv/mainact.inc.php on line 94
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/swfput/js/putswf_tpl.php:462
- > PHP Notice
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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: graphics, html5 video, video, video content, flash video...
swfput/swfput.php 85% from 13 tests
The primary PHP file in "SWFPut - SWFlash Put" version 3.1.0.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 209 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin18,639 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 1,439 | 1,998 | 8,499 |
PHP | 16 | 1,017 | 2,309 | 7,645 |
PO File | 1 | 124 | 182 | 1,009 |
HTML | 1 | 191 | 2 | 724 |
SVG | 3 | 8 | 3 | 256 |
make | 2 | 52 | 30 | 190 |
C | 1 | 35 | 13 | 169 |
Bourne Shell | 2 | 14 | 39 | 80 |
CSS | 2 | 5 | 26 | 67 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 65.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 328.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 142 | |
▷ Static methods | 69 | 48.59% |
▷ Public methods | 136 | 95.77% |
▷ Protected methods | 6 | 4.23% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 80 | |
▷ Global constants | 6 | 7.50% |
▷ Class constants | 74 | 92.50% |
▷ Public constants | 74 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin