Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼4.65ms] 75% from 4 tests
Server-side resources used by MMA Call Tracking
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 654.96ms on /wp-admin/admin.php?page=mma_call_tracking_menu2)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 36.94 ▲1.86 |
Dashboard /wp-admin | 3.52 ▲0.18 | 45.66 ▼19.96 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 52.71 ▼1.31 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 92.15 ▲0.80 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.69 ▲3.81 |
Settings /wp-admin/admin.php?page=mma_call_tracking_menu | 3.41 | 34.18 |
Phone Numbers /wp-admin/admin.php?page=mma_call_tracking_menu2 | 3.41 | 654.96 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
MMA Call Tracking: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲69 | 13.59 ▼0.79 | 1.70 ▼0.20 | 39.71 ▼5.08 |
Dashboard /wp-admin | 2,232 ▲41 | 4.90 ▼0.06 | 97.69 ▼5.39 | 75.42 ▲32.38 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.00 ▼0.04 | 39.59 ▼0.42 | 36.34 ▲1.81 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 21.97 ▲4.42 | 693.75 ▼4.57 | 55.36 ▲2.73 |
Media Library /wp-admin/upload.php | 1,417 ▲32 | 4.13 ▼0.05 | 110.66 ▲7.70 | 79.00 ▲32.84 |
Settings /wp-admin/admin.php?page=mma_call_tracking_menu | 980 | 2.17 | 24.34 | 43.93 |
Phone Numbers /wp-admin/admin.php?page=mma_call_tracking_menu2 | 867 | 2.04 | 28.10 | 29.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mma-call-tracking/mma_call_tracking.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== mma-call-tracking ===
)
mma-call-tracking/mma_call_tracking.php 92% from 13 tests
This is the main PHP file of "MMA Call Tracking" version 2.3.15, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mma-call-tracking.php" instead of "mma_call_tracking.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,088 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 192 | 78 | 1,049 |
JavaScript | 1 | 5 | 4 | 39 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 235.00 |
▷ Minimum class complexity | 235.00 |
▷ Maximum class complexity | 235.00 |
Average method complexity | 6.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 1.13KB | 1.23KB | 0.00% |