Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.66ms] Passed 4 tests
Server-side resources used by Philantro - Donations and Donor Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.87 ▼1.85 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.29 ▼16.83 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.18 ▲2.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.07 ▼24.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.89 ▲0.88 |
Server storage [IO: ▲3.28MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
OID |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Philantro - Donations and Donor Management
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.48 ▼0.89 | 8.99 ▲7.20 | 42.39 ▼2.26 |
Dashboard /wp-admin | 2,215 ▲35 | 5.58 ▼0.04 | 84.71 ▼5.45 | 78.74 ▲37.17 |
Posts /wp-admin/edit.php | 2,120 ▲17 | 1.96 ▼0.03 | 35.05 ▼4.12 | 32.10 ▼7.37 |
Add New Post /wp-admin/post-new.php | 6,383 ▲4,846 | 28.15 ▲9.91 | 946.01 ▲327.89 | 44.03 ▼25.55 |
Media Library /wp-admin/upload.php | 1,420 ▲17 | 4.16 ▼0.13 | 95.80 ▼0.59 | 75.79 ▲32.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- OID
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/philantro/philantro.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/philantro/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
philantro/philantro.php 92% from 13 tests
The primary PHP file in "Philantro - Donations and Donor Management" version 5.13 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 253 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin5,340 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 0 | 3,086 |
HTML | 3 | 363 | 0 | 1,473 |
PHP | 2 | 141 | 27 | 430 |
CSS | 2 | 2 | 0 | 347 |
JavaScript | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 19 | |
▷ Named functions | 19 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.86MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/screen-4.png | 340.20KB | 127.97KB | ▼ 62.38% |
asset/screen-3.png | 144.11KB | 43.81KB | ▼ 69.60% |
asset/screen-5-mobile.png | 25.97KB | 10.17KB | ▼ 60.85% |
asset/screen.png | 128.67KB | 40.75KB | ▼ 68.33% |
asset/philantro-logo.png | 9.80KB | 5.37KB | ▼ 45.17% |