Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.66ms] Passed 4 tests
A check of server-side resources used by Freespee Call Tracking
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.67 ▲0.78 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.73 ▼1.34 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.59 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 104.87 ▲18.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.85 ▲2.07 |
Freespee /wp-admin/options-general.php?page=fs_settings_page | 3.20 | 29.48 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Freespee Call Tracking
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.28 ▼1.01 | 4.84 ▲3.03 | 41.32 ▼7.40 |
Dashboard /wp-admin | 2,224 ▲39 | 5.79 ▲0.91 | 100.00 ▼6.76 | 37.85 ▼8.66 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.04 ▲0.03 | 39.11 ▼0.25 | 34.82 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,557 ▲43 | 18.01 ▲0.36 | 656.39 ▼19.02 | 69.93 ▲7.53 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.20 ▲0.01 | 101.95 ▲4.89 | 45.90 ▲4.16 |
Freespee /wp-admin/options-general.php?page=fs_settings_page | 701 | 1.53 | 6.54 | 18.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=fs_settings_page
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/freespee-call-tracking/templates/settings.php on line 5 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/freespee-call-tracking/templates/settings.php(5): do_settings_fields()
#1 wp-content/plugins/freespee-call-tracking/freespee_call_tracking.php(33): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): fsct_plugin_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/freespee-call-tracking/templates/settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/freespee-call-tracking/templates/fs_conf_js.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/freespee-call-tracking/templates/notify_banner.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/freespee-call-tracking/freespee_call_tracking.php:55
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: adwords, conversion tracking, call tracking, freespee, analytics...
freespee-call-tracking/freespee_call_tracking.php 85% from 13 tests
This is the main PHP file of "Freespee Call Tracking" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 306 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("freespee-call-tracking.php" instead of "freespee_call_tracking.php")
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
There were no executable files found in this plugin73 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 15 | 12 | 73 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin