Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.46ms] Passed 4 tests
An overview of server-side resources used by PageProofer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.17 ▲7.08 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.85 ▼5.01 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.93 ▲2.29 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 88.34 ▼10.65 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.77 ▲3.53 |
PageProofer /wp-admin/options-general.php?page=pageproofer | 3.23 | 32.11 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
pageproofer_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PageProofer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.48 ▼0.10 | 1.97 ▲0.07 | 43.61 ▼2.94 |
Dashboard /wp-admin | 2,210 ▲28 | 5.86 ▼0.01 | 104.60 ▼6.49 | 38.15 ▼7.36 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.02 | 34.23 ▼3.39 | 35.47 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.22 ▼0.04 | 656.87 ▲10.76 | 51.46 ▲5.52 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.30 ▲0.13 | 109.80 ▲9.18 | 45.85 ▼1.44 |
PageProofer /wp-admin/options-general.php?page=pageproofer | 895 | 2.01 | 25.49 | 26.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- pageproofer_settings
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=pageproofer
- > Notice in wp-content/plugins/pageproofer/admin/class-pageproofer-admin.php+135
Undefined index: pageproofer_site_key
SRP 50% 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 items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/pageproofer/admin/partials/pageproofer-admin-display.php
- > /wp-content/plugins/pageproofer/public/partials/pageproofer-public-display.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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: feedback widget, website feedback, visual feedback, issue feedback, bug tracking
pageproofer/pageproofer.php 92% from 13 tests
The main PHP file in "PageProofer" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin329 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 143 | 538 | 254 |
SVG | 2 | 0 | 2 | 69 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pageproofer-square-logo.png | 1.61KB | 0.83KB | ▼ 48.27% |
assets/banner-772-250.png | 38.73KB | 12.91KB | ▼ 66.68% |
assets/banner-1544x500.png | 85.92KB | 27.38KB | ▼ 68.13% |
assets/icon-128x128.png | 1.61KB | 0.83KB | ▼ 48.27% |