Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.18MB] [CPU: ▼15.85ms] Passed 4 tests
An overview of server-side resources used by Scrounger Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.89 ▼7.02 |
Dashboard /wp-admin | 3.12 ▼0.19 | 28.41 ▼25.36 |
Posts /wp-admin/edit.php | 3.25 ▼0.10 | 35.81 ▼11.49 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.39 | 72.92 ▼19.53 |
Media Library /wp-admin/upload.php | 3.20 ▼0.03 | 31.13 ▼5.89 |
Настройки показа /wp-admin/admin.php?page=scrounger-view | 3.31 | 32.66 |
Попрошайка /wp-admin/admin.php?page=scrounger | 3.32 | 29.49 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 30 new options
New WordPress options |
---|
scrounger_shortcode |
scrounger_view |
scrounger_button_text |
scrounger_account |
scrounger_payments |
scrounger_view_type |
scrounger_comment |
scrounger_payment_type_choice |
scrounger_receiving_notification |
scrounger_email |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Scrounger Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.23 ▼0.11 | 1.67 ▼0.23 | 45.77 ▲3.02 |
Dashboard /wp-admin | 2,222 ▲48 | 5.70 ▲0.02 | 90.26 ▼10.52 | 41.45 ▼1.64 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▲0.00 | 41.02 ▲3.82 | 40.73 ▲3.78 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.63 ▲0.63 | 673.91 ▼23.57 | 55.99 ▲1.55 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.23 ▼0.00 | 97.22 ▼18.06 | 43.55 ▼13.60 |
Настройки показа /wp-admin/admin.php?page=scrounger-view | 960 | 2.14 | 28.06 | 36.31 |
Попрошайка /wp-admin/admin.php?page=scrounger | 1,110 | 2.12 | 27.63 | 52.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 30 options
- scrounger_secret
- scrounger_on
- scrounger_view
- scrounger_shortcode
- scrounger_view_type
- scrounger_payment_type_choice
- db_upgraded
- widget_recent-comments
- scrounger_success_url
- scrounger_payments_count
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: money, donate, scrounger, yandex, payments...
scrounger-lite/scrounger.php 85% from 13 tests
The principal PHP file in "Scrounger Lite" v. 0.9.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 161 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("scrounger-lite.php" instead of "scrounger.php")
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
Everything looks great! No dangerous files found in this plugin851 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 90 | 95 | 751 |
JavaScript | 1 | 3 | 0 | 68 |
CSS | 1 | 6 | 0 | 32 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
No PNG files were detected