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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.31ms] Passed 4 tests
Analyzing server-side resources used by Tithe.ly Giving Button
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 66.59 ▼1.36 |
Dashboard /wp-admin | 3.33 ▲0.02 | 76.45 ▼18.55 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 74.13 ▼12.10 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 161.60 ▲15.82 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 68.67 ▲2.79 |
Tithe.ly Giving Options /wp-admin/options-general.php?page=tithely-options | 3.21 | 55.05 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_wp_tithely_widget |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Tithe.ly Giving Button
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 14.26 ▲0.23 | 3.29 ▼1.43 | 76.00 ▲1.71 |
Dashboard /wp-admin | 2,210 ▲28 | 5.91 ▲1.02 | 178.09 ▼5.73 | 87.73 ▲4.69 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▲0.02 | 61.76 ▼11.29 | 67.91 ▼18.11 |
Add New Post /wp-admin/post-new.php | 1,428 ▲29 | 17.40 ▼0.44 | 905.53 ▼38.69 | 81.55 ▲2.18 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.18 ▼0.21 | 177.22 ▼10.97 | 91.06 ▼7.76 |
Tithe.ly Giving Options /wp-admin/options-general.php?page=tithely-options | 875 | 2.05 | 41.14 | 86.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_wp_tithely_widget
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-tithely ===
)
wp-tithely/wp-tithely.php 92% from 13 tests
Analyzing the main PHP file in "Tithe.ly Giving Button" version 1.1
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin270 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 66 | 54 | 270 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin