Benchmarks
Plugin footprint 65% 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: ▲1.73MB] [CPU: ▲14.00ms] Passed 4 tests
Server-side resources used by Church Tithe WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.30 ▲1.83 | 58.61 ▲18.02 |
Dashboard /wp-admin | 5.03 ▲1.72 | 66.89 ▲18.90 |
Posts /wp-admin/edit.php | 5.14 ▲1.78 | 64.76 ▲16.45 |
Add New Post /wp-admin/post-new.php | 7.61 ▲1.72 | 97.03 ▲2.61 |
Media Library /wp-admin/upload.php | 4.95 ▲1.72 | 60.00 ▲26.17 |
Server storage [IO: ▲2.91MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- There were 1 file (8.90KB) illegally modified outside of "wp-content/plugins/churchtithewp/" and "wp-content/uploads/"
- (new file) .well-known/apple-developer-merchantid-domain-association
Filesystem: 180 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_church_tithe_wp_arrangements |
wp_church_tithe_wp_transactions |
New WordPress options |
---|
wp_church_tithe_wp_arrangements_db_version |
widget_recent-comments |
wp_church_tithe_wp_transactions_db_version |
ctwp_threshold_reset |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Church Tithe WP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲175 | 16.53 ▲2.16 | 177.94 ▲176.18 | 41.67 ▼5.99 |
Dashboard /wp-admin | 2,239 ▲57 | 4.89 ▼0.93 | 114.92 ▲10.11 | 41.04 ▲2.44 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.06 ▲0.06 | 36.40 ▼1.83 | 33.62 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 22.24 ▲4.68 | 681.42 ▼34.52 | 59.66 ▼3.40 |
Media Library /wp-admin/upload.php | 1,425 ▲34 | 4.15 ▼0.02 | 111.76 ▲8.99 | 47.67 ▲0.98 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_church_tithe_wp_transactions
- wp_church_tithe_wp_arrangements
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- wp_church_tithe_wp_arrangements_db_version
- ctwp_threshold_reset
- db_upgraded
- theysaidso_admin_options
- wp_church_tithe_wp_transactions_db_version
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: google pay, apple pay, recurring payments, church, giving...
churchtithewp/church-tithe-wp.php 62% from 13 tests
The primary PHP file in "Church Tithe WP" version 1.0.0.17 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 146 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("churchtithewp.php" instead of "church-tithe-wp.php")
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin24,940 lines of code in 163 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 70 | 3,315 | 1,027 | 12,058 |
PHP | 81 | 2,687 | 4,504 | 11,152 |
CSS | 6 | 86 | 38 | 1,680 |
Markdown | 1 | 6 | 0 | 45 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 17.09 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 1 | 9.09% |
▷ Concrete classes | 10 | 90.91% |
▷ Final classes | 1 | 10.00% |
Methods | 86 | |
▷ Static methods | 1 | 1.16% |
▷ Public methods | 68 | 79.07% |
▷ Protected methods | 13 | 15.12% |
▷ Private methods | 5 | 5.81% |
Functions | 184 | |
▷ Named functions | 184 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
2 PNG files occupy 0.21MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/closebtn.png | 4.90KB | 1.03KB | ▼ 79.05% |
assets/images/flags/flags.png | 209.85KB | 77.62KB | ▼ 63.01% |