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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.19ms] Passed 4 tests
Analyzing server-side resources used by Usermaven
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.75 ▲2.65 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.16 ▲0.01 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 52.35 ▲4.84 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 93.62 ▼10.64 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.24 ▼0.79 |
Dashboard /wp-admin/admin.php?page=usermaven_dashboard | 3.27 | 32.87 |
Settings /wp-admin/admin.php?page=usermaven_options | 3.27 | 34.86 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Usermaven
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲208 | 13.50 ▼0.85 | 10.04 ▲8.15 | 44.91 ▲3.36 |
Dashboard /wp-admin | 2,277 ▲100 | 5.52 ▼0.13 | 85.42 ▼5.64 | 80.72 ▲39.67 |
Posts /wp-admin/edit.php | 2,197 ▲97 | 1.98 ▲0.00 | 39.86 ▲0.99 | 37.19 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,615 ▲89 | 23.23 ▲0.32 | 767.15 ▲88.25 | 58.94 ▲2.29 |
Media Library /wp-admin/upload.php | 1,491 ▲91 | 4.19 ▲0.05 | 102.54 ▼13.78 | 86.29 ▲40.85 |
Dashboard /wp-admin/admin.php?page=usermaven_dashboard | 880 | 1.99 | 23.66 | 25.81 |
Settings /wp-admin/admin.php?page=usermaven_options | 980 | 1.96 | 23.02 | 38.62 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/usermaven/public/partials/usermaven-public-display.php
- > /wp-content/plugins/usermaven/admin/partials/usermaven-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
7 plugin tags: web analytics, analytics, stats, privacy friendly analytics, privacy...
usermaven/usermaven.php Passed 13 tests
The primary PHP file in "Usermaven" version 1.0.3 is used by WordPress to initiate all plugin functionality
50 characters long description:
The Easiest Website and Product Analytics Platform
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected508 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 140 | 625 | 346 |
CSS | 3 | 14 | 8 | 108 |
SVG | 1 | 0 | 0 | 34 |
Markdown | 1 | 9 | 0 | 14 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin