Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.22MB] [CPU: ▲35.54ms] 50% from 4 tests
This is a short check of server-side resources used by Redirection for Contact Form 7
Please take the time to fix the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 1,802.38ms on /wp-admin/admin.php?page=wpc7_redirect)
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.22MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.82 ▲5.36 | 72.75 ▲23.65 |
Dashboard /wp-admin | 8.84 ▲5.54 | 78.95 ▲32.87 |
Posts /wp-admin/edit.php | 8.84 ▲5.49 | 90.76 ▲42.91 |
Add New Post /wp-admin/post-new.php | 10.39 ▲4.51 | 135.58 ▲42.72 |
Media Library /wp-admin/upload.php | 8.84 ▲5.62 | 85.76 ▲54.08 |
Leads /wp-admin/edit.php?post_type=wpcf7r_leads | 8.85 | 68.12 |
Redirection settings /wp-admin/admin.php?page=wpc7_redirect | 8.84 | 1,802.38 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.84 | 68.93 |
Server storage [IO: ▲3.67MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 287 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-comments |
wpcf7_redirect_notifications |
theysaidso_admin_options |
fs_active_plugins |
widget_theysaidso_widget |
can_compress_scripts |
wpcf7_migration_completed |
wpcf7_redirect_version |
fs_accounts |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Redirection for Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲212 | 13.87 ▼0.51 | 8.32 ▲6.29 | 28.95 ▼14.13 |
Dashboard /wp-admin | 2,250 ▲59 | 5.83 ▲0.93 | 98.60 ▼13.75 | 41.71 ▼0.32 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.15 ▲0.15 | 41.37 ▲3.85 | 38.58 ▲0.11 |
Add New Post /wp-admin/post-new.php | 1,555 ▲23 | 22.07 ▼1.22 | 583.21 ▼67.43 | 51.18 ▼3.88 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.27 ▲0.05 | 96.08 ▼6.18 | 44.41 ▼1.38 |
Leads /wp-admin/edit.php?post_type=wpcf7r_leads | 1,145 | 1.98 | 35.38 | 30.38 |
Redirection settings /wp-admin/admin.php?page=wpc7_redirect | 1,003 | 2.49 | 37.80 | 56.72 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,065 | 2.20 | 23.07 | 27.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wpcf7-redirect/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 13 options in the database
- fs_accounts
- wpcf7_redirect_version
- db_upgraded
- wpcf7_migration_completed
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- fs_active_plugins
- widget_recent-comments
- fs_debug_mode
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
wpcf7-redirect/wpcf7-redirect.php 85% from 13 tests
This is the main PHP file of "Redirection for Contact Form 7" version 3.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 187 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.2.0" instead of "5.1")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin42,726 lines of code in 211 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 190 | 9,276 | 19,343 | 39,129 |
CSS | 15 | 288 | 3 | 2,140 |
JavaScript | 5 | 259 | 304 | 1,243 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 72.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 2 | 2.82% |
▷ Concrete classes | 69 | 97.18% |
▷ Final classes | 0 | 0.00% |
Methods | 1,568 | |
▷ Static methods | 260 | 16.58% |
▷ Public methods | 1,163 | 74.17% |
▷ Protected methods | 17 | 1.08% |
▷ Private methods | 388 | 24.74% |
Functions | 146 | |
▷ Named functions | 139 | 95.21% |
▷ Anonymous functions | 7 | 4.79% |
Constants | 177 | |
▷ Global constants | 130 | 73.45% |
▷ Class constants | 47 | 26.55% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
24 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
build/images/logo-querysol.png | 0.77KB | 0.79KB | 0.00% |
build/images/banner.png | 9.31KB | 9.12KB | ▼ 2.02% |
freemius/assets/img/wpcf7r-api.png | 0.71KB | 0.45KB | ▼ 36.55% |
build/images/icon8.png | 0.53KB | 0.54KB | 0.00% |