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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.69ms] Passed 4 tests
Server-side resources used by Call Tracker
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.31 ▼1.24 |
Dashboard /wp-admin | 3.32 ▼0.03 | 62.01 ▲0.22 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 56.99 ▲9.04 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 98.39 ▼3.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.56 ▲1.49 |
Marketing Video /wp-admin/admin.php?page=video | 3.21 | 30.92 |
Call Tracker /wp-admin/admin.php?page=ct-menu | 3.19 | 32.83 |
Statistics /wp-admin/admin.php?page=statistics | 3.21 | 31.62 |
Configure /wp-admin/admin.php?page=help | 3.21 | 27.10 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Call Tracker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲157 | 13.47 ▼0.88 | 7.57 ▲5.34 | 42.39 ▼10.75 |
Dashboard /wp-admin | 2,221 ▲41 | 5.58 ▼0.07 | 108.39 ▲18.54 | 72.93 ▲33.30 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.00 ▲0.03 | 39.47 ▼2.53 | 34.73 ▼3.37 |
Add New Post /wp-admin/post-new.php | 1,561 ▲22 | 22.27 ▲4.19 | 719.32 ▲94.83 | 62.94 ▼18.28 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.23 ▲0.02 | 128.22 ▲15.96 | 86.40 ▲40.23 |
Marketing Video /wp-admin/admin.php?page=video | 1,034 | 3.70 | 47.62 | 51.37 |
Call Tracker /wp-admin/admin.php?page=ct-menu | 1,038 | 1.99 | 24.65 | 32.47 |
Statistics /wp-admin/admin.php?page=statistics | 849 | 2.01 | 23.28 | 29.67 |
Configure /wp-admin/admin.php?page=help | 918 | 2.01 | 21.67 | 26.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ct-menu
- > Warning in wp-content/plugins/call-tracker/call-tracker-decorator.php+106
count(): Parameter must be an array or an object that implements Countable
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/call-tracker/call-tracker-functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/call-tracker/call-tracker-functions.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Donate link: Invalid url: ""
- Screenshots: These screenshots require images: #1 (Management), #2 (Configure), #3 (Analytics)
call-tracker/call-tracker.php 92% from 13 tests
Analyzing the main PHP file in "Call Tracker" version 1.3
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 252 characters long)
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
Success! There were no dangerous files found in this plugin590 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 101 | 24 | 482 |
JavaScript | 1 | 16 | 0 | 71 |
CSS | 1 | 13 | 0 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 24.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 10 | 33.33% |
▷ Public methods | 23 | 76.67% |
▷ Protected methods | 1 | 3.33% |
▷ Private methods | 6 | 20.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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.28MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ct-icon.png | 0.90KB | 0.73KB | ▼ 18.78% |
screenshot-3.png | 12.10KB | 5.16KB | ▼ 57.39% |
css/images/ct-logo.png | 1.46KB | 1.28KB | ▼ 12.08% |
css/images/video-button.png | 10.33KB | 5.96KB | ▼ 42.27% |
css/images/hit-crowd-banner.png | 33.78KB | 16.15KB | ▼ 52.20% |