Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/ingenious-advertiser-tracking/includes/class-ingenious-woocommerce.php+130
require_once(wp-content/plugins/ingenious-advertiser-tracking/woocommerce/class-ingenious-woocommerce-woocommerce.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.19ms] Passed 4 tests
Server-side resources used by Ingenious - Advertiser Tracking for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.92 ▼1.65 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.28 ▼0.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.05 ▼1.64 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.46 ▲11.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.31 ▼1.38 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Ingenious - Advertiser Tracking for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.46 ▲0.08 | 2.03 ▲0.44 | 43.83 ▲0.70 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.06 | 110.57 ▲12.37 | 44.80 ▲1.51 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.01 ▼0.04 | 34.51 ▼2.73 | 33.85 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.49 ▼4.61 | 598.06 ▼67.80 | 50.62 ▼3.62 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▼0.06 | 98.12 ▲2.52 | 41.62 ▼0.91 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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 no errors were found, this is by no means 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
The following issues need your attention
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ingenious-advertiser-tracking/public/partials/ingenious-woocommerce-public-display.php
- > /wp-content/plugins/ingenious-advertiser-tracking/admin/partials/ingenious-woocommerce-admin-display.php
- > /wp-content/plugins/ingenious-advertiser-tracking/admin/partials/ingenious-woocommerce-settings-results.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: tracking, affiliate marketing, affiliate, marketing, performance marketing
ingenious-advertiser-tracking/ingenious-advertiser-tracking.php 85% from 13 tests
The entry point to "Ingenious - Advertiser Tracking for WooCommerce" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- 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: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin607 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 218 | 704 | 604 |
JavaScript | 1 | 2 | 27 | 3 |
CSS | 1 | 0 | 4 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 10 | 22.22% |
▷ Public methods | 30 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 33.33% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 1 | 12.50% |
▷ Class constants | 7 | 87.50% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected