Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.62ms] Passed 4 tests
Analyzing server-side resources used by Impact: Partnership Cloud
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.75 ▼9.69 |
Dashboard /wp-admin | 3.39 ▲0.04 | 46.97 ▼15.36 |
Posts /wp-admin/edit.php | 3.51 ▲0.14 | 48.83 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.62 ▼4.28 |
Media Library /wp-admin/upload.php | 3.32 ▲0.08 | 36.12 ▲3.76 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Impact: Partnership Cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.35 ▲0.13 | 1.80 ▲0.02 | 37.72 ▼5.18 |
Dashboard /wp-admin | 2,195 ▲20 | 5.62 ▼0.00 | 97.33 ▼16.43 | 42.89 ▼2.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.02 | 38.68 ▼1.43 | 35.71 ▲5.57 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.30 ▲0.56 | 675.11 ▲88.06 | 50.13 ▲1.51 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.06 | 97.19 ▲1.23 | 41.20 ▲0.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/impact-partnership-cloud/includes/no_woocommerce_access.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/impact-partnership-cloud/includes/impact_settings_page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/impact-partnership-cloud/includes/utt-script.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/impact-partnership-cloud/includes/impact_delete_integration.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
Attributes that require attention:
- Contributors: Plugin contributors field is missing
impact-partnership-cloud/impact.php 92% from 13 tests
"Impact: Partnership Cloud" version 1.0.24's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("impact-partnership-cloud.php" instead of "impact.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,136 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 76 | 243 | 714 |
Sass | 5 | 59 | 4 | 323 |
JavaScript | 6 | 8 | 1 | 72 |
CSS | 4 | 3 | 10 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 50.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 33 | 94.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.71% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
12 PNG files occupy 0.28MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/top-50.png | 3.39KB | 2.01KB | ▼ 40.78% |
images/brands.png | 4.04KB | 2.38KB | ▼ 41.22% |
images/walmart.png | 2.72KB | 2.69KB | ▼ 1.22% |
images/microsoft.png | 3.42KB | 3.40KB | 0.46% |
images/impact-logo.png | 2.20KB | 2.22KB | 0.00% |