Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.41ms] Passed 4 tests
Analyzing server-side resources used by Callcap Webmatch
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 37.23 ▼6.85 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.99 ▼5.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.89 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.39 ▼9.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.86 ▲0.01 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Callcap Webmatch: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲113 | 13.61 ▼0.74 | 2.33 ▲0.25 | 40.57 ▼3.06 |
Dashboard /wp-admin | 2,224 ▲33 | 4.84 ▼1.07 | 108.16 ▲3.65 | 41.96 ▼3.69 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.02 ▼0.02 | 42.46 ▲7.00 | 40.72 ▲10.62 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 18.11 ▼5.18 | 609.54 ▼69.37 | 55.95 ▲2.63 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.20 ▼0.00 | 98.07 ▼5.83 | 42.80 ▼0.13 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/callcap-webmatch/webmatch.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/callcap-webmatch/webmatch-form.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 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
3 plugin tags: phone tracking, phone numbers, call tracking
callcap-webmatch/webmatch.php 85% from 13 tests
Analyzing the main PHP file in "Callcap Webmatch" version 1.6.5
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("callcap-webmatch.php" instead of "webmatch.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected401 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 93 | 42 | 275 |
CSS | 1 | 20 | 0 | 93 |
Markdown | 1 | 17 | 0 | 33 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 5 | |
▷ Named functions | 5 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin