Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.70ms] Passed 4 tests
This is a short check of server-side resources used by Most Recent Posts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.78 ▼2.01 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.08 ▼2.75 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 48.24 ▼1.41 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.57 ▼12.61 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.49 ▲0.51 |
Shortcode /wp-admin/admin.php?page=MRPShortcodes | 3.26 | 40.57 |
Tech Support /wp-admin/admin.php?page=MRPTechSupport | 3.26 | 35.63 |
Most Recent Posts /wp-admin/admin.php?page=MostRecentPostsSettings | 3.26 | 34.65 |
Registration /wp-admin/admin.php?page=MRPRegistration | 3.26 | 35.85 |
Help /wp-admin/admin.php?page=MRPHelp | 3.26 | 38.14 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Most Recent Posts: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.72 ▲0.43 | 1.60 ▼0.37 | 43.67 ▼1.22 |
Dashboard /wp-admin | 2,236 ▲56 | 5.56 ▼0.07 | 90.75 ▲0.06 | 75.97 ▲35.79 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.00 ▲0.05 | 35.78 ▼0.75 | 31.70 ▼5.38 |
Add New Post /wp-admin/post-new.php | 1,578 ▲52 | 23.28 ▲0.04 | 722.41 ▲24.49 | 57.83 ▼3.19 |
Media Library /wp-admin/upload.php | 1,444 ▲41 | 4.16 ▼0.09 | 101.48 ▼6.42 | 83.93 ▲37.21 |
Shortcode /wp-admin/admin.php?page=MRPShortcodes | 975 | 1.99 | 25.07 | 29.35 |
Tech Support /wp-admin/admin.php?page=MRPTechSupport | 827 | 1.99 | 26.44 | 28.27 |
Most Recent Posts /wp-admin/admin.php?page=MostRecentPostsSettings | 878 | 2.05 | 23.67 | 27.62 |
Registration /wp-admin/admin.php?page=MRPRegistration | 899 | 2.00 | 25.23 | 25.84 |
Help /wp-admin/admin.php?page=MRPHelp | 1,491 | 8.37 | 217.43 | 63.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/most-recent-posts/most-recent-posts.php
- > /wp-content/plugins/most-recent-posts/trunk/most-recent-posts.php
- 2× 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/most-recent-posts/trunk/most-recent-posts-widget.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/most-recent-posts/most-recent-posts-widget.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=MRPHelp
- > Network (severe)
http://buildautomate.com/favicon.ico - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=MostRecentPostsSettings
- > Network (severe)
http://i1.wp.com/www.buildautomate.com/en/wp-content/uploads/2013/04/8.png?resize=300%2C50 - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Widget Display), #2 (Shortcode embedded in Page), #3 (Widget User Interface Configuration), #4 (Shortcode Example), #5 (Screenshot of Plugin Live on Build.Automate website), #6 (Screenshot of possible shortcode attributes, their attributes and possible values)
most-recent-posts/most-recent-posts.php 92% from 13 tests
The principal PHP file in "Most Recent Posts" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 223 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,161 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 148 | 118 | 1,161 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 10 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 28.57% |
Functions | 30 | |
▷ Named functions | 30 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.64MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
trunk/screenshot-3.png | 53.46KB | 15.01KB | ▼ 71.91% |
trunk/screenshot-6.png | 86.91KB | 24.62KB | ▼ 71.68% |
trunk/screenshot-1.png | 17.70KB | 4.67KB | ▼ 73.60% |
trunk/screenshot-2.png | 24.50KB | 6.75KB | ▼ 72.44% |
trunk/screenshot-4.png | 18.61KB | 4.82KB | ▼ 74.11% |