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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼4.37ms] Passed 4 tests
A check of server-side resources used by CHIP for GiveWP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 44.02 ▲3.06 |
Dashboard /wp-admin | 3.48 ▲0.18 | 51.48 ▲2.99 |
Posts /wp-admin/edit.php | 3.60 ▲0.23 | 48.02 ▼2.43 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 82.59 ▼17.45 |
Media Library /wp-admin/upload.php | 3.41 ▲0.17 | 35.74 ▼0.60 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CHIP for GiveWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▲0.00 | 1.70 ▼0.07 | 42.39 ▼4.00 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.05 | 87.15 ▼7.81 | 41.81 ▲3.27 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.95 ▼0.09 | 34.53 ▼2.67 | 36.58 ▲2.68 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.63 ▲2.54 | 643.53 ▼77.38 | 54.27 ▼3.50 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.11 | 99.48 ▲1.27 | 41.85 ▼3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chip-for-givewp/includes/class-listener.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/chip-for-givewp/chip-for-givewp.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chip-for-givewp/includes/class-purchase.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chip-for-givewp/includes/admin/class-refund-button.php:26
- > PHP Fatal error
Uncaught Error: Class 'Chip_Givewp_Admin_Settings' not found in wp-content/plugins/chip-for-givewp/includes/admin/class-metabox-settings.php:3
- > PHP Fatal error
Uncaught Error: Class 'Chip_Givewp_Admin_Settings' not found in wp-content/plugins/chip-for-givewp/includes/admin/class-global-settings.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in chip-for-givewp/assets to your readme.txt
chip-for-givewp/chip-for-givewp.php Passed 13 tests
The main PHP script in "CHIP for GiveWP" version 1.1.0 is automatically included on every request by WordPress
31 characters long description:
CHIP - Digital Finance Platform
Code Analysis Passed 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
No dangerous file extensions were detected862 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 241 | 23 | 786 |
JavaScript | 2 | 6 | 0 | 66 |
SVG | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.22 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 10 | 18.87% |
▷ Public methods | 47 | 88.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.32% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 6 | 60.00% |
▷ Class constants | 4 | 40.00% |
▷ Public constants | 4 | 100.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 were not PNG files found in your plugin