Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.75MB] [CPU: ▲5.08ms] Passed 4 tests
An overview of server-side resources used by Proofratings
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 45.95 ▲5.85 |
Dashboard /wp-admin | 4.08 ▲0.78 | 55.89 ▲6.26 |
Posts /wp-admin/edit.php | 4.14 ▲0.78 | 53.36 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.81 | 89.05 ▲0.19 |
Media Library /wp-admin/upload.php | 4.01 ▲0.79 | 50.12 ▲13.98 |
Server storage [IO: ▲2.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 192 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_proofratings |
New WordPress options |
---|
widget_recent-posts |
proofratings_version |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Proofratings
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,665 ▼1,106 | 11.14 ▼3.54 | 5.72 ▲3.83 | 19.37 ▼19.42 |
Dashboard /wp-admin | 2,247 ▲59 | 5.88 ▲0.05 | 113.78 ▲7.22 | 80.82 ▲37.60 |
Posts /wp-admin/edit.php | 2,148 ▲59 | 2.06 ▲0.07 | 36.27 ▼3.88 | 37.33 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,305 ▼214 | 14.67 ▼8.38 | 284.18 ▼400.38 | 15.18 ▼40.99 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.22 ▲0.05 | 110.40 ▲10.91 | 80.56 ▲35.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_proofratings
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- proofratings_version
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in proofratings/assets to your readme.txt
proofratings/proofratings.php 92% from 13 tests
The main file in "Proofratings" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin8,881 lines of code in 134 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 1,132 | 1,170 | 4,270 |
CSS | 6 | 487 | 31 | 2,350 |
SVG | 94 | 74 | 25 | 1,628 |
JavaScript | 14 | 115 | 45 | 633 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 35.53 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 195 | |
▷ Static methods | 7 | 3.59% |
▷ Public methods | 158 | 81.03% |
▷ Protected methods | 6 | 3.08% |
▷ Private methods | 31 | 15.90% |
Functions | 17 | |
▷ Named functions | 10 | 58.82% |
▷ Anonymous functions | 7 | 41.18% |
Constants | 5 | |
▷ Global constants | 5 | 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
34 PNG files occupy 0.33MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/analytics.png | 4.86KB | 2.61KB | ▼ 46.29% |
assets/images/icon-getapp.png | 2.84KB | 1.34KB | ▼ 52.87% |
assets/images/icon-homeadvisor.png | 26.58KB | 9.93KB | ▼ 62.64% |
assets/images/icon-google.png | 3.12KB | 1.42KB | ▼ 54.59% |
assets/images/icon-trustpilot.png | 2.92KB | 1.32KB | ▼ 54.89% |