Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.48ms] Passed 4 tests
A check of server-side resources used by ReineRouge - Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.36 ▼4.55 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.11 ▼3.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.19 ▼0.30 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.42 ▼17.32 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.73 ▼0.73 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by ReineRouge - Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.28 ▼0.01 | 1.89 ▲0.21 | 44.39 ▲1.33 |
Dashboard /wp-admin | 2,214 ▲43 | 5.55 ▼0.12 | 83.19 ▼12.04 | 41.88 ▼0.56 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 2.00 ▲0.02 | 40.03 ▲0.89 | 36.36 ▼0.64 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 23.47 ▲0.41 | 696.17 ▲8.93 | 60.95 ▲1.28 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.21 ▲0.02 | 99.40 ▼13.30 | 47.98 ▼2.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/reinerouge-contact-form-7/src/Admin/Menu.php
- > /wp-content/plugins/reinerouge-contact-form-7/src/Admin/Pages/Main_Page.php
- > /wp-content/plugins/reinerouge-contact-form-7/src/Admin/Pages/Download_Page.php
- > /wp-content/plugins/reinerouge-contact-form-7/src/Admin/Pages/Abstract_Page.php
- > /wp-content/plugins/reinerouge-contact-form-7/src/Admin/Utils/Response.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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 your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== reinerouge-contact-form-7 ===
)
reinerouge-contact-form-7/contact-form-reinerouge.php 77% from 13 tests
"ReineRouge - Contact Form 7" version 1.4.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("reinerouge-contact-form-7.php" instead of "contact-form-reinerouge.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,280 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 179 | 223 | 727 |
Markdown | 1 | 121 | 0 | 553 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 5 | 50.00% |
Methods | 29 | |
▷ Static methods | 3 | 10.34% |
▷ Public methods | 21 | 72.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 27.59% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 18 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 18 | 100.00% |
▷ Public constants | 18 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.25MB with 0.16MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-256x256.png | 20.41KB | 8.05KB | ▼ 60.56% |
banner-772x250.png | 235.82KB | 74.68KB | ▼ 68.33% |