Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.71ms] Passed 4 tests
This is a short check of server-side resources used by MediaHawk Call Tracking Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.80 ▲0.04 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.87 ▼2.98 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.90 ▼2.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.98 ▼8.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.79 ▼8.50 |
Mediahawk call tracking /wp-admin/options-general.php?page=mediahawk-call-tracking/mediahawk-call-tracking.php | 3.18 | 32.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for MediaHawk Call Tracking Integration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.54 ▼0.02 | 1.97 ▲0.33 | 44.39 ▲2.10 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.00 | 93.79 ▲4.82 | 42.25 ▼5.23 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▼0.13 | 33.26 ▼4.50 | 37.78 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.46 ▲0.48 | 684.14 ▲53.74 | 46.46 ▼2.64 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▼0.04 | 109.99 ▲3.58 | 47.78 ▲2.65 |
Mediahawk call tracking /wp-admin/options-general.php?page=mediahawk-call-tracking/mediahawk-call-tracking.php | 848 | 2.00 | 29.68 | 34.63 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=mediahawk-call-tracking/mediahawk-call-tracking.php
- > 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=mediahawk-call-tracking/mediahawk-call-tracking.php
- > 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 | 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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mediahawk-call-tracking/mediahawk-call-tracking.php:108
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== mediahawk-call-tracking ===
)
mediahawk-call-tracking/mediahawk-call-tracking.php Passed 13 tests
The main file in "MediaHawk Call Tracking Integration" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
Plugin adds Mediahawk call tracking software to website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin86 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 8 | 86 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
No PNG files were detected