Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.29ms] Passed 4 tests
A check of server-side resources used by CF7 Visited Pages URL Tracking
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.85 ▲0.79 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.12 ▼13.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▼3.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.76 ▼10.75 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.89 ▼5.59 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by CF7 Visited Pages URL Tracking
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲39 | 14.41 ▼0.01 | 1.86 ▲0.24 | 49.81 ▲8.20 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.04 | 98.92 ▲12.87 | 42.68 ▲1.08 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.99 ▲0.04 | 36.16 ▲1.13 | 30.85 ▼2.94 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.12 ▲5.18 | 647.09 ▼33.11 | 60.84 ▼7.66 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.23 ▲0.04 | 97.20 ▼17.50 | 45.63 ▼0.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/cf7-visited-pages-url-tracking/public/partials/cf7-visited-pages-url-tracking-public-display.php
- > /wp-content/plugins/cf7-visited-pages-url-tracking/admin/partials/cf7-visited-pages-url-tracking-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please a description for screenshot #3 in cf7-visited-pages-url-tracking/assets to your readme.txt
cf7-visited-pages-url-tracking/cf7-visited-pages-url-tracking.php Passed 13 tests
Analyzing the main PHP file in "CF7 Visited Pages URL Tracking" version 1.0.0
138 characters long description:
Add visited site links to the mail of contact form 7, So admin/user can track that the user had which page visited before submit the form.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin508 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 144 | 562 | 390 |
JavaScript | 2 | 5 | 27 | 61 |
CSS | 2 | 6 | 9 | 57 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 21 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 19.23% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
2 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/how-to-use.png | 46.66KB | 23.14KB | ▼ 50.40% |
admin/images/visited-pages-cookie.png | 56.49KB | 26.62KB | ▼ 52.88% |