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.22MB] [CPU: ▼1.43ms] Passed 4 tests
Server-side resources used by OMIGO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 41.09 ▼1.20 |
Dashboard /wp-admin | 3.57 ▲0.27 | 49.91 ▲0.90 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 45.36 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 84.22 ▼4.56 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 36.34 ▲3.04 |
View donors /wp-admin/admin.php?page=omigo-api-donors | 3.43 | 35.12 |
Exemption Letter /wp-admin/admin.php?page=omigo-api-letter | 3.43 | 38.59 |
Settings /wp-admin/admin.php?page=omigo | 3.44 | 37.20 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_omigo_widget |
omigos |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by OMIGO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲202 | 14.19 ▼0.46 | 15.21 ▲13.04 | 38.43 ▼9.97 |
Dashboard /wp-admin | 2,227 ▲39 | 5.79 ▲0.91 | 100.15 ▼6.23 | 38.52 ▼4.69 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.06 ▲0.00 | 37.43 ▲1.80 | 35.37 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,535 ▲1 | 17.35 ▼5.82 | 681.87 ▼7.77 | 50.66 ▼7.13 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.20 ▼0.03 | 95.10 ▼8.17 | 41.55 ▼3.19 |
View donors /wp-admin/admin.php?page=omigo-api-donors | 975 | 3.27 | 38.74 | 58.86 |
Exemption Letter /wp-admin/admin.php?page=omigo-api-letter | 1,054 | 3.03 | 42.19 | 51.24 |
Settings /wp-admin/admin.php?page=omigo | 1,239 | 3.21 | 41.19 | 66.86 |
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 10 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_omigo_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- omigos
- omi_client_set
- omi_client_id
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/omigo/omigo.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Eusonlito\\Captcha\\Captcha' not found in wp-content/plugins/omigo/vendor/eusonlito/captcha/tests/Tests.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in omigo/assets to your readme.txt
omigo/omigo.php Passed 13 tests
The main PHP file in "OMIGO" ver. 3.3 adds more information about the plugin and also serves as the entry point for this plugin
25 characters long description:
Pay and Donate with OMIGO
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected3,700 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 371 | 541 | 1,637 |
CSS | 3 | 93 | 51 | 1,465 |
JavaScript | 4 | 48 | 8 | 371 |
Markdown | 1 | 54 | 0 | 128 |
JSON | 2 | 0 | 0 | 71 |
XML | 1 | 0 | 0 | 18 |
YAML | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 9.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 36 | 41.38% |
▷ Public methods | 72 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 17.24% |
Functions | 31 | |
▷ Named functions | 28 | 90.32% |
▷ Anonymous functions | 3 | 9.68% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/omigo_cc_logo.png | 32.29KB | 5.18KB | ▼ 83.95% |
img/omigo_small_logo.png | 8.14KB | 3.13KB | ▼ 61.50% |
img/omigo_renew_captcha.png | 2.94KB | 1.24KB | ▼ 57.72% |
img/omigo_url_image.png | 39.88KB | 14.86KB | ▼ 62.73% |
img/omigo_logo.png | 17.23KB | 6.18KB | ▼ 64.14% |