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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.09ms] Passed 4 tests
Server-side resources used by WPPG
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.97 ▼4.90 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.12 ▼1.38 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.95 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 80.49 ▼25.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.73 ▲1.42 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPPG
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.73 ▲0.36 | 1.76 ▼0.26 | 42.03 ▲3.02 |
Dashboard /wp-admin | 2,204 ▲19 | 4.87 ▼1.00 | 99.88 ▼19.79 | 40.35 ▼3.51 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.00 | 39.18 ▼1.61 | 39.26 ▲5.68 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 23.13 ▲5.69 | 642.32 ▼26.42 | 52.76 ▼4.91 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.24 ▲0.05 | 94.68 ▼3.70 | 43.46 ▼0.00 |
WPPG /wp-admin/wppg.php | 26 | 0.44 | 0.14 | 13.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/wppg.php
- > Network (severe)
wp-admin/wppg.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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:
- Requires php: Invalid plugin version format
wppg/wppg.php 92% from 13 tests
Analyzing the main PHP file in "WPPG" version 1.0.1
Please take the time to fix the following:
- Git Repository: An alternative Git repository was detected
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
Good job! No executable or dangerous file extensions detected2,130 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 463 | 1,509 | 2,114 |
Markdown | 1 | 5 | 0 | 16 |
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.47 |
Average class complexity | 329.00 |
▷ Minimum class complexity | 329.00 |
▷ Maximum class complexity | 329.00 |
Average method complexity | 6.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 65 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 53 | 81.54% |
▷ Protected methods | 11 | 16.92% |
▷ Private methods | 1 | 1.54% |
Functions | 49 | |
▷ Named functions | 49 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
There were not PNG files found in your plugin