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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.04MB] [CPU: ▼211.05ms] Passed 4 tests
An overview of server-side resources used by Free mobile number verification for CF7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.55 ▼0.28 | 17.70 ▼16.24 |
Dashboard /wp-admin | 2.60 ▼0.45 | 21.17 ▼26.75 |
Posts /wp-admin/edit.php | 2.60 ▼0.50 | 17.36 ▼29.57 |
Add New Post /wp-admin/post-new.php | 2.60 ▼2.83 | 17.45 ▼771.63 |
Media Library /wp-admin/upload.php | 2.60 ▼0.40 | 15.91 ▼16.20 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Free mobile number verification for CF7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,712 ▲116 | 16.00 ▲0.45 | 10.11 ▼1.04 | 47.41 ▲2.54 |
Dashboard /wp-admin | 2,982 ▲48 | 6.02 ▲0.07 | 143.08 ▼8.99 | 110.36 ▲4.29 |
Posts /wp-admin/edit.php | 2,748 ▲9 | 2.71 ▼0.01 | 65.25 ▼3.60 | 85.05 ▼8.73 |
Add New Post /wp-admin/post-new.php | 1,678 ▲63 | 18.87 ▼2.67 | 388.15 ▲109.12 | 105.91 ▲0.84 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 5.05 ▲0.01 | 149.09 ▼11.31 | 117.17 ▲10.04 |
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
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/missed-call-mobile-number-verification-add-on-for-contactform7-cognalyscom/cf7_cognalys_addon.php+176
Trying to access array offset on value of type bool
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/missed-call-mobile-number-verification-add-on-for-contactform7-cognalyscom/cf7_cognalys_addon.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
These attributes need to be fixed:
- Tags: Too many tags (45 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots lack descriptions #2, #3, #0, #0, #0 in missed-call-mobile-number-verification-add-on-for-contactform7-cognalyscom/assets to your readme.txt
missed-call-mobile-number-verification-add-on-for-contactform7-cognalyscom/cf7_cognalys_addon.php 92% from 13 tests
This is the main PHP file of "Free mobile number verification for CF7" 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:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("missed-call-mobile-number-verification-add-on-for-contactform7-cognalyscom.php" instead of "cf7_cognalys_addon.php")
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 plugin359 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 31 | 14 | 206 |
JavaScript | 2 | 17 | 4 | 152 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.68MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 40.03KB | 17.87KB | ▼ 55.37% |
assets/icon-256x256.png | 12.50KB | 6.39KB | ▼ 48.90% |
assets/img/flags.png | 69.15KB | 23.62KB | ▼ 65.85% |
assets/screenshot_3.png | 80.17KB | 36.80KB | ▼ 54.10% |
assets/screenshot_1.png | 40.03KB | 17.87KB | ▼ 55.37% |