Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▼286.60ms] Passed 4 tests
This is a short check of server-side resources used by Easy Prayer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.51 | 58.60 ▲9.30 |
Dashboard /wp-admin | 3.91 ▲0.51 | 42.89 ▲12.09 |
Posts /wp-admin/edit.php | 4.14 ▲0.50 | 40.88 ▲4.69 |
Add New Post /wp-admin/post-new.php | 7.38 ▲0.41 | 94.85 ▼1,163.65 |
Media Library /wp-admin/upload.php | 3.71 ▲0.41 | 27.51 ▲3.26 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 4.06 | 29.45 |
Server storage [IO: ▲32.64MB] [DB: ▲0.01MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Total filesystem usage must be limited to 25MB (currently using 32.64MB)
Filesystem: 926 new files
Database: 3 new tables, 5 new options
New tables |
---|
wp_easy_prayer_categories |
wp_easy_prayer_requests |
wp_easy_prayer_settings |
New WordPress options |
---|
fs_debug_mode |
easy_prayer_db_version |
fs_active_plugins |
fs_gdpr |
fs_accounts |
Browser metrics Passed 4 tests
Easy Prayer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,861 ▲107 | 15.65 ▲0.07 | 5.88 ▼0.60 | 2.75 ▲0.33 |
Dashboard /wp-admin | 2,958 ▲97 | 6.19 ▲0.02 | 116.78 ▼13.91 | 168.34 ▼0.81 |
Posts /wp-admin/edit.php | 2,756 ▲68 | 3.25 ▲0.01 | 62.40 ▼1.63 | 155.86 ▲13.62 |
Add New Post /wp-admin/post-new.php | 1,800 ▲80 | 22.25 ▲1.36 | 448.41 ▲3.64 | 157.00 ▲5.51 |
Media Library /wp-admin/upload.php | 1,763 ▲68 | 5.66 ▲0.13 | 143.11 ▲6.15 | 208.80 ▲16.30 |
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius | 1,453 | 2.49 | 54.45 | 122.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/easy-prayer/freemius/includes/class-freemius.php+8218
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 3 tables in the database
- wp_easy_prayer_settings
- wp_easy_prayer_categories
- wp_easy_prayer_requests
- Zombie WordPress options were found after uninstall: 5 options
- fs_gdpr
- fs_accounts
- fs_debug_mode
- fs_active_plugins
- easy_prayer_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-prayer/trunk/freemius/templates/ajax-loader.php
- > /wp-content/plugins/easy-prayer/freemius/templates/ajax-loader.php
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/easy-prayer/trunk/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-prayer/trunk/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/easy-prayer/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/easy-prayer/freemius/templates/partials/network-activation.php:6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/easy-prayer/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/easy-prayer/trunk/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-prayer/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easy-prayer/trunk/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/easy-prayer/trunk/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/easy-prayer/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: requests, church, prayer
easy-prayer/easy-prayer.php Passed 13 tests
The main PHP script in "Easy Prayer" version 1.2 is automatically included on every request by WordPress
63 characters long description:
a plugin to create, collect, store, and display prayer requests
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin179,694 lines of code in 392 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 147 | 26,922 | 38,855 | 120,201 |
PHP | 110 | 7,240 | 16,016 | 30,521 |
PO File | 12 | 6,960 | 8,455 | 15,240 |
CSS | 119 | 383 | 306 | 13,359 |
Markdown | 1 | 61 | 0 | 192 |
Sass | 2 | 33 | 3 | 154 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,772)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 85.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,772.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 92 | |
▷ Abstract classes | 4 | 4.35% |
▷ Concrete classes | 88 | 95.65% |
▷ Final classes | 0 | 0.00% |
Methods | 2,258 | |
▷ Static methods | 346 | 15.32% |
▷ Public methods | 1,576 | 69.80% |
▷ Protected methods | 30 | 1.33% |
▷ Private methods | 652 | 28.88% |
Functions | 236 | |
▷ Named functions | 236 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 242 | |
▷ Global constants | 192 | 79.34% |
▷ Class constants | 50 | 20.66% |
▷ Public constants | 50 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/easy-prayer.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
js/DataTables/DataTables-1.10.20/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
js/DataTables/DataTables-1.10.20/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
js/DataTables/DataTables-1.10.20/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |