Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼1.25ms] Passed 4 tests
An overview of server-side resources used by Make Influence
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.04 ▼1.76 |
Dashboard /wp-admin | 3.40 ▲0.10 | 47.34 ▼2.58 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.69 ▲3.08 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.25 ▼3.72 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 36.61 ▲4.65 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Make Influence
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲55 | 14.15 ▼0.56 | 1.69 ▼0.30 | 37.60 ▼7.40 |
Dashboard /wp-admin | 2,229 ▲51 | 5.58 ▼0.16 | 98.23 ▼10.37 | 82.09 ▲41.24 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 1.98 ▲0.03 | 40.32 ▲2.63 | 39.43 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,566 ▲39 | 23.42 ▲0.47 | 689.06 ▲39.92 | 48.07 ▼8.98 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.21 ▼0.00 | 95.39 ▼1.60 | 74.42 ▲32.66 |
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-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/makeinfluence/partials/admin-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function Thagaard\\MakeInfluence\\__() in wp-content/plugins/makeinfluence/plugin.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: makeinfluence, woocommerce
makeinfluence/makeinfluence.php Passed 13 tests
The main PHP script in "Make Influence" version 2.0.7 is automatically included on every request by WordPress
56 characters long description:
Integrate your Make Influence tracking with WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin431 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 68 | 11 | 364 |
PO File | 1 | 22 | 25 | 67 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
partials/MIlogo.png | 18.68KB | 4.64KB | ▼ 75.16% |
icon.png | 1.89KB | 0.23KB | ▼ 87.96% |