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.00MB] [CPU: ▼4.59ms] Passed 4 tests
An overview of server-side resources used by WP ReadRemaining
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.89 ▲0.21 |
Dashboard /wp-admin | 3.31 ▼0.03 | 47.53 ▼15.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.69 ▲2.03 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.08 ▼5.45 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.85 ▲5.00 |
ReadRemaining /wp-admin/options-general.php?page=wprrjs-options | 3.20 | 32.14 |
Server storage [IO: ▲0.04MB] [DB: ▲0.31MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
wprrjs_use_cdn |
can_compress_scripts |
wprrjs_theme |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP ReadRemaining
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲168 | 13.62 ▼0.90 | 5.36 ▲3.77 | 38.43 ▼2.05 |
Dashboard /wp-admin | 2,228 ▲24 | 4.88 ▼0.03 | 107.28 ▼0.57 | 43.02 ▼0.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.08 | 40.04 ▲3.52 | 35.49 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.03 ▲0.11 | 639.96 ▼0.86 | 56.05 ▲1.66 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.23 ▲0.00 | 102.56 ▲6.47 | 45.69 ▲3.36 |
ReadRemaining /wp-admin/options-general.php?page=wprrjs-options | 813 | 2.07 | 26.01 | 28.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- wprrjs_theme
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- wprrjs_use_cdn
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-readremaining/wp-ReadRemaining.php
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Here's what it looks like in action)
wp-readremaining/wp-ReadRemaining.php 85% from 13 tests
The main PHP file in "WP ReadRemaining" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-readremaining.php" instead of "wp-ReadRemaining.php")
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
No dangerous file extensions were detected140 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 8 | 0 | 88 |
PHP | 1 | 8 | 14 | 50 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.17KB | 11.61KB | ▼ 57.26% |