Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.94ms] Passed 4 tests
Server-side resources used by Right Now Reloaded
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.87 ▲0.03 |
Dashboard /wp-admin | 3.37 ▲0.02 | 48.95 ▼15.22 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.08 ▼1.69 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.31 ▼15.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 38.23 ▼3.26 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Right Now Reloaded
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.38 ▲0.03 | 1.90 ▲0.31 | 45.21 ▲4.99 |
Dashboard /wp-admin | 2,231 ▲56 | 5.62 ▼0.06 | 94.24 ▼11.15 | 46.13 ▲1.91 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.02 | 44.45 ▼0.94 | 37.35 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.04 ▲0.01 | 627.13 ▼46.47 | 50.05 ▼2.85 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.03 | 99.06 ▼19.57 | 41.88 ▼6.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/right-now-reloaded/right-now-reloaded.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Right Now Reloaded on a simple site), #2 (What a Contributor sees on the same site as above), #3 (Right Now Reloaded on a large site with lots of custom content types)
right-now-reloaded/right-now-reloaded.php Passed 13 tests
The primary PHP file in "Right Now Reloaded" version 2.2 is used by WordPress to initiate all plugin functionality
100 characters long description:
A better version of the "Right Now" dashboard widget, tailored to show what's relevant to your site.
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
Everything looks great! No dangerous files found in this plugin295 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 96 | 85 | 245 |
CSS | 1 | 10 | 0 | 50 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 15 | |
▷ Static methods | 15 | 100.00% |
▷ Public methods | 6 | 40.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 60.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.28MB with 0.23MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 98.78KB | 18.50KB | ▼ 81.27% |
screenshot-2.png | 87.74KB | 16.55KB | ▼ 81.14% |
screenshot-3.png | 102.87KB | 19.76KB | ▼ 80.79% |