Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/oi-frontend-profile/oi-frontend-profile.php+177
Undefined variable: alert_message
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.85ms] Passed 4 tests
A check of server-side resources used by Oi Frontend Profile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.54 ▲4.63 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.35 ▼3.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.38 ▼6.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.50 ▼11.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.07 ▼5.49 |
Server storage [IO: ▲0.06MB] [DB: ▲0.31MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Oi Frontend Profile: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.30 ▼0.43 | 1.88 ▲0.20 | 44.25 ▲3.57 |
Dashboard /wp-admin | 2,192 ▲12 | 5.73 ▲0.10 | 89.92 ▼9.97 | 40.62 ▼5.09 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.05 | 33.32 ▼2.81 | 35.51 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.22 ▲0.12 | 663.00 ▼15.82 | 51.08 ▲0.15 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.23 ▲0.06 | 97.39 ▼3.11 | 43.08 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/oi-frontend-profile/oi-frontend-profile.php
- > /wp-content/plugins/oi-frontend-profile/oi-nput.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: alert_message in wp-content/plugins/oi-frontend-profile/oi-frontend-profile.php on line 177
- > PHP Parse error
syntax error, unexpected '}', expecting end of file in wp-content/plugins/oi-frontend-profile/inc/options.php on line 139
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/oi-frontend-profile/oi-frontend-profile.php:183
- > PHP Notice
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 97% 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 to be fixed:
- Screenshots: Screenshot #1 (Profile page on a frontend, TwentyTwelve theme.) image not found
oi-frontend-profile/oi-frontend-profile.php Passed 13 tests
"Oi Frontend Profile" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
127 characters long description:
Plugin creates frontend profile page and redirects users from wp-admin/profile.php to this page. Form looks in Bootstrap style.
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
There were no executable files found in this plugin481 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 18 | 310 |
PO File | 1 | 35 | 68 | 89 |
CSS | 1 | 7 | 0 | 82 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 0 | |
▷ Named functions | 0 | 0.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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 27.29KB | 14.27KB | ▼ 47.72% |