Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > User notice in wp-content/plugins/woopra/woopra-php-sdk/woopra_tracker.php+340
Unexpected parameter in configuration array: click_tracking.
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.80ms] Passed 4 tests
Analyzing server-side resources used by Woopra Analytics Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.56 ▼39.02 |
Dashboard /wp-admin | 2.05 ▼1.25 | 14.32 ▼35.87 |
Posts /wp-admin/edit.php | 2.05 ▼1.30 | 9.75 ▼42.33 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.66 ▼89.99 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 7.05 ▼29.87 |
Woopra /wp-admin/options-general.php?page=woopra | 2.05 | 6.06 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
woopra |
Browser metrics Passed 4 tests
Checking browser requirements for Woopra Analytics Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.37 ▲0.01 | 11.09 ▲9.29 | 44.95 ▲2.18 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.04 | 86.41 ▼15.07 | 38.70 ▼6.49 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.09 | 34.76 ▼4.58 | 37.47 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,530 ▼5 | 23.03 ▲4.85 | 664.00 ▲26.30 | 51.67 ▼12.35 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.23 ▼0.00 | 102.71 ▼3.87 | 42.90 ▼4.52 |
Woopra /wp-admin/options-general.php?page=woopra | 1,130 | 2.02 | 24.97 | 30.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > User notice in wp-content/plugins/woopra/woopra-php-sdk/woopra_tracker.php+340
Unexpected parameter in configuration array: click_tracking.
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=woopra
- > User notice in wp-content/plugins/woopra/woopra-php-sdk/woopra_tracker.php+340
Unexpected parameter in configuration array: click_tracking.
- > GET request to /wp-admin/options-general.php?page=woopra
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=woopra
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/woopra/woopra.php:177
- > PHP Fatal error
Uncaught Error: Class 'Woopra' not found in wp-content/plugins/woopra/inc/admin.php:12
- > PHP Fatal error
Uncaught Error: Class 'Woopra' not found in wp-content/plugins/woopra/inc/frontend.php:7
- > PHP Fatal error
Uncaught Error: Class 'WoopraFrontend' not found in wp-content/plugins/woopra/inc/events.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
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
6 plugin tags: funnels, analytics, stats, track visitors, real-time...
woopra/woopra.php Passed 13 tests
The primary PHP file in "Woopra Analytics Plugin" version 3.0 is used by WordPress to initiate all plugin functionality
117 characters long description:
Track who is on your website, what pages they're browsing, actions they're taking, articles they're reading and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,175 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 212 | 525 | 1,106 |
Markdown | 1 | 4 | 0 | 69 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 34.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 1 | 1.75% |
▷ Public methods | 50 | 87.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 12.28% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin