Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.41MB] [CPU: ▼136.57ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 - Show Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.19 ▲0.47 | 47.39 ▲24.41 |
Dashboard /wp-admin | 3.50 ▲0.44 | 52.86 ▲9.66 |
Posts /wp-admin/edit.php | 3.55 ▲0.44 | 51.67 ▲3.67 |
Add New Post /wp-admin/post-new.php | 5.80 ▲0.36 | 100.67 ▼563.65 |
Media Library /wp-admin/upload.php | 3.38 ▲0.38 | 40.23 ▲4.06 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.45 | 34.50 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 - Show Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,720 ▲124 | 16.17 ▲0.58 | 9.58 ▼2.96 | 48.82 ▼10.94 |
Dashboard /wp-admin | 3,028 ▲91 | 5.98 ▲0.03 | 155.51 ▼15.68 | 121.46 ▲0.81 |
Posts /wp-admin/edit.php | 2,793 ▲54 | 2.74 ▲0.03 | 76.80 ▲0.12 | 101.65 ▲2.78 |
Add New Post /wp-admin/post-new.php | 1,714 ▲31 | 18.81 ▲2.12 | 414.27 ▼20.98 | 112.79 ▲6.54 |
Media Library /wp-admin/upload.php | 1,859 ▲52 | 5.07 ▲0.06 | 152.69 ▼3.17 | 136.63 ▲16.54 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,283 | 2.11 | 60.14 | 78.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/cf7-show-page/contact-form-7-show-page.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/cf7-show-page/tgmpa/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/cf7-show-page/tgmpa/class-tgm-plugin-activation.php:2109
- > 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 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
cf7-show-page/contact-form-7-show-page.php 92% from 13 tests
The entry point to "Contact Form 7 - Show Page" version 1.0.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cf7-show-page.php" instead of "contact-form-7-show-page.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,305 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 526 | 1,791 | 1,988 |
Markdown | 1 | 58 | 0 | 281 |
CSS | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 48.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.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 | 101 | |
▷ Static methods | 5 | 4.95% |
▷ Public methods | 78 | 77.23% |
▷ Protected methods | 23 | 22.77% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 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
PNG images were not found in this plugin