Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.60ms] Passed 4 tests
A check of server-side resources used by Multisite Post Reader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.07 ▼1.31 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.58 ▼3.62 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.27 ▼0.33 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.39 ▼9.12 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.57 ▲1.18 |
Multisite Post Reader Info/Usage /wp-admin/options-general.php?page=mpr_settings | 3.20 | 34.48 |
Server storage [IO: ▲6.54MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Multisite Post Reader: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.41 ▲0.06 | 2.46 ▲0.58 | 46.23 ▲3.85 |
Dashboard /wp-admin | 2,204 ▲24 | 5.60 ▼0.07 | 96.27 ▲4.30 | 40.09 ▼2.45 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.01 ▲0.03 | 34.04 ▼2.24 | 31.98 ▼6.78 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.19 ▼0.24 | 671.21 ▲60.87 | 54.69 ▲0.20 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.23 ▲0.01 | 96.95 ▼14.59 | 40.12 ▼8.10 |
Multisite Post Reader Info/Usage /wp-admin/options-general.php?page=mpr_settings | 1,174 | 2.00 | 23.31 | 45.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/multisite-post-reader/multisite-post-reader.php:610
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
1 plugin tags: multisite post reader
multisite-post-reader/multisite-post-reader.php 85% from 13 tests
The main PHP script in "Multisite Post Reader" version 3.02 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Description: Please don't use more than 140 characters for the plugin description (currently 204 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin556 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 60 | 159 | 480 |
CSS | 1 | 1 | 2 | 63 |
XML | 2 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 3.21MB with 2.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cellarweb-logo-2022.png | 954.49KB | 191.67KB | ▼ 79.92% |
assets/icon-256x256.png | 564.60KB | 34.29KB | ▼ 93.93% |
css/soda-cup-straw.png | 121.76KB | 58.15KB | ▼ 52.24% |
assets/banner-1000x200.png | 608.61KB | 83.60KB | ▼ 86.26% |
assets/icon-128x128.png | 220.68KB | 11.48KB | ▼ 94.80% |