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.17MB] [CPU: ▼9.53ms] Passed 4 tests
This is a short check of server-side resources used by Charitas Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 53.60 ▲6.91 |
Dashboard /wp-admin | 4.80 ▲1.46 | 55.48 ▼11.76 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 51.64 ▼5.83 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 89.94 ▼20.30 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.93 ▼0.22 |
Add Staff /wp-admin/post-new.php?post_type=post_staff | 6.19 | 86.30 |
All Causes /wp-admin/edit.php?post_type=post_causes | 3.37 | 40.56 |
Add Project /wp-admin/post-new.php?post_type=post_projects | 6.19 | 87.01 |
All Projects /wp-admin/edit.php?post_type=post_projects | 3.37 | 39.88 |
Add Cause /wp-admin/post-new.php?post_type=post_causes | 6.19 | 81.63 |
All Staff /wp-admin/edit.php?post_type=post_staff | 3.37 | 41.51 |
Server storage [IO: ▲0.05MB] [DB: ▲0.31MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_charitas_lite_projects_widget |
widget_charitas_lite_staff_widget |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_charitas_lite_causes_widget |
Browser metrics Passed 4 tests
Charitas Lite: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.21 ▼0.15 | 2.34 ▲0.72 | 42.64 ▲0.93 |
Dashboard /wp-admin | 2,196 ▲16 | 5.56 ▼0.12 | 89.78 ▲0.63 | 45.20 ▲5.49 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.96 ▲0.00 | 39.49 ▲5.07 | 38.92 ▼0.24 |
Add New Post /wp-admin/post-new.php | 1,595 ▲67 | 23.50 ▲0.45 | 670.16 ▼7.66 | 53.97 ▼8.78 |
Media Library /wp-admin/upload.php | 1,484 ▲81 | 4.20 ▼0.02 | 98.94 ▼1.67 | 42.93 ▼0.30 |
Add Staff /wp-admin/post-new.php?post_type=post_staff | 6,259 | 22.13 | 896.69 | 29.14 |
All Causes /wp-admin/edit.php?post_type=post_causes | 1,188 | 1.98 | 31.32 | 32.19 |
Add Project /wp-admin/post-new.php?post_type=post_projects | 1,587 | 16.93 | 744.02 | 28.10 |
All Projects /wp-admin/edit.php?post_type=post_projects | 1,170 | 1.96 | 33.96 | 30.44 |
Add Cause /wp-admin/post-new.php?post_type=post_causes | 1,587 | 16.93 | 697.90 | 27.30 |
All Staff /wp-admin/edit.php?post_type=post_staff | 1,188 | 1.90 | 31.38 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-comments
- widget_charitas_lite_projects_widget
- can_compress_scripts
- widget_charitas_lite_causes_widget
- theysaidso_admin_options
- widget_charitas_lite_staff_widget
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/charitas-lite/inc/widgets/widget-causes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/single-post_causes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/single-post_staff.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/template-causes.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/charitas-lite/inc/library.php:50
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/charitas-lite/inc/customizer.php:146
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/single-post_projects.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/charitas-lite/inc/widgets/widget-staff.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/template-projects.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/charitas-lite/inc/templates/template-staff.php:11
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: charity, team
charitas-lite/charitas-lite.php Passed 13 tests
The main PHP script in "Charitas Lite" version 1.0.1 is automatically included on every request by WordPress
67 characters long description:
Charitas Lite WPLook will Extend the Charitas Lite WordPress Theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,116 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 226 | 263 | 1,116 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 6.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 7 | 70.00% |
▷ Anonymous functions | 3 | 30.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
No PNG images were found in this plugin