Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼1.47ms] Passed 4 tests
Analyzing server-side resources used by pkrss
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.33 ▲0.38 |
Dashboard /wp-admin | 3.31 ▼0.03 | 48.69 ▼7.82 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.80 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.01 ▲9.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.86 ▲1.26 |
Server storage [IO: ▲4.33MB] [DB: ▲0.70MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 217 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
pkrss: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.69 ▲0.34 | 1.74 ▼0.03 | 44.90 ▼0.23 |
Dashboard /wp-admin | 2,192 ▲12 | 5.53 ▼0.11 | 82.07 ▼1.39 | 35.70 ▼2.79 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.06 | 33.19 ▼0.39 | 36.64 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.29 ▲0.22 | 593.26 ▼49.19 | 52.00 ▼2.08 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.20 ▼0.02 | 93.14 ▼0.70 | 41.75 ▼2.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.70MB] 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
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pkrss/pkrss.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/pkrss/page_pkrss.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: Please specify the plugin name on the first line (
=== pkrss ===
) - Screenshots: Please add an image for screenshot #1 (wait for added...)
pkrss/pkrss.php Passed 13 tests
The main PHP file in "pkrss" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
Support all over the world Popular RSS news,and translate many language with your mother language.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Almost there! Just fix the following issues
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .as - Adobe Flash ActionScript File in Adobe Flash
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/ConnectManager.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/Jplayer.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/JplayerEvent.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/JplayerMp3.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/JplayerMp4.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/JplayerRtmp.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/JplayerStatus.as
- ☣ wp-content/plugins/pkrss/src/min/js/third/jquery-jplayer/happyworm/jPlayer/TraceOut.as
- .as - Adobe Flash ActionScript File in Adobe Flash
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
ActionScript | 8 | 335 | 312 | 2,288 |
HTML | 4 | 52 | 18 | 315 |
JavaScript | 71 | 0 | 95 | 83 |
PHP | 2 | 8 | 16 | 32 |
CSS | 18 | 0 | 8 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 2 | |
▷ Named functions | 2 | 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
34 PNG files occupy 0.28MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/min/css/jquery-jplayer/blue.monday/jplayer.blue.monday.video.play.png | 17.28KB | 4.28KB | ▼ 75.21% |
src/min/css/newspaper/images/gradient.png | 0.17KB | 0.98KB | 0.00% |
src/min/css/jquery-impromptu/themes/twitter-bootstrap/img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
src/images/default/bg_fn.png | 12.22KB | 3.91KB | ▼ 67.98% |
src/images/catalog/headline.png | 2.60KB | 1.72KB | ▼ 33.71% |