Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.86ms] Passed 4 tests
An overview of server-side resources used by Pray For Me
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 43.71 ▲0.87 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.78 ▼6.30 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.50 ▲1.36 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.08 ▼11.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.96 ▲2.02 |
Pray For Me /wp-admin/admin.php?page=caruso_prayer_plugin | 3.25 | 37.85 |
Settings /wp-admin/admin.php?page=caruso_prayer_plugin_settings | 3.28 | 32.86 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Pray For Me
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 14.45 ▲0.10 | 1.93 ▲0.08 | 44.40 ▲3.45 |
Dashboard /wp-admin | 2,232 ▲44 | 5.82 ▼0.06 | 96.00 ▼8.05 | 75.45 ▲33.03 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.00 ▲0.01 | 40.84 ▲1.49 | 37.19 ▲3.02 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.00 ▲5.47 | 769.48 ▲163.80 | 52.84 ▼5.71 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.19 ▼0.10 | 99.15 ▼9.65 | 74.15 ▲28.55 |
Pray For Me /wp-admin/admin.php?page=caruso_prayer_plugin | 904 | 2.20 | 28.57 | 28.59 |
Settings /wp-admin/admin.php?page=caruso_prayer_plugin_settings | 984 | 2.56 | 32.06 | 42.87 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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 everything seems fine, this is not 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/pray-for-me/views/admin/prayer-meta.php
- 14× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to get property 'user_email' of non-object in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 12
- > PHP Notice
Undefined variable: post in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 12
- > PHP Fatal error
Uncaught Error: Call to a member function display() on null in wp-content/plugins/pray-for-me/views/admin/prayer-list.php:11
- > PHP Notice
Undefined variable: post in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/pray-for-me/pray-for-me.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/pray-for-me/views/form/confirmed.php:11
- > PHP Notice
Undefined variable: post in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 16
- > PHP Notice
Trying to get property 'is_anonymous' of non-object in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 16
- > PHP Notice
Trying to get property 'user_last_name' of non-object in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 8
- > PHP Notice
Undefined variable: post in wp-content/plugins/pray-for-me/views/admin/prayer-meta.php on line 4
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== pray-for-me ===
)
pray-for-me/pray-for-me.php Passed 13 tests
"Pray For Me" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
49 characters long description:
Adds ability for users to submit prayer requests.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,490 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 333 | 799 | 1,372 |
Sass | 2 | 11 | 0 | 59 |
CSS | 5 | 6 | 13 | 42 |
JavaScript | 1 | 6 | 11 | 17 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 35.17 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 8 | 10.26% |
▷ Public methods | 55 | 70.51% |
▷ Protected methods | 23 | 29.49% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 16 | 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
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/FlamingLogoReverse.png | 18.38KB | 5.16KB | ▼ 71.95% |
resources/images/FlamingLogo.png | 17.23KB | 8.92KB | ▼ 48.22% |
resources/images/icon.png | 1.44KB | 0.77KB | ▼ 46.74% |