Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.45ms] Passed 4 tests
Server-side resources used by Fix Google Newsstand Missing Images
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.67 ▼2.10 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.57 ▼19.45 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.62 ▼9.78 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 95.90 ▼1.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.22 ▼2.46 |
Server storage [IO: ▲1.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Fix Google Newsstand Missing Images
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 14.67 ▲0.53 | 1.67 ▼0.57 | 46.33 ▲3.48 |
Dashboard /wp-admin | 2,203 ▲12 | 5.76 ▲0.89 | 103.19 ▲1.45 | 42.69 ▼2.11 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▼0.02 | 35.93 ▼4.92 | 34.15 ▼3.15 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 18.17 ▼4.63 | 607.83 ▲9.73 | 54.89 ▼3.77 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.20 ▲0.02 | 94.56 ▼8.92 | 44.81 ▼4.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (/assets/screenshot.png), #2 (/assets/screenshot2.png), #3 (/assets/screenshot3.png), #4 (/assets/screenshot4.png)
fix-google-newsstand-missing-images/Google-Newsstand-Missing Images-error-fix.php 85% from 13 tests
Analyzing the main PHP file in "Fix Google Newsstand Missing Images" version 1.0
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 260 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("fix-google-newsstand-missing-images.php" instead of "Google-Newsstand-Missing Images-error-fix.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin10 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 3 | 8 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 1.60MB with 1.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot.png | 439.09KB | 152.94KB | ▼ 65.17% |
assets/screenshot3.png | 318.79KB | 89.08KB | ▼ 72.06% |
assets/screenshot2.png | 484.69KB | 163.81KB | ▼ 66.20% |
assets/screenshot4.png | 392.48KB | 112.24KB | ▼ 71.40% |