Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin did not install without errors
- > Parse error in wp-content/plugins/pimex-for-contact-form-7/lib/pimex.php+173
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.29ms] Passed 4 tests
Server-side resources used by Pimex for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.23 ▼24.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.69 ▼1.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.66 ▲4.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.21 ▲7.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.97 ▲0.92 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Pimex for Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.16 ▼1.49 | 1.82 ▼0.96 | 42.59 ▼17.49 |
Dashboard /wp-admin | 2,203 ▲15 | 5.84 ▼0.04 | 98.67 ▼13.64 | 38.26 ▼5.98 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.00 | 39.42 ▲2.29 | 34.46 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.05 ▼0.16 | 587.25 ▼62.63 | 55.73 ▲2.46 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▼0.02 | 99.15 ▼20.00 | 44.40 ▲0.75 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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 | 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 take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/pimex-for-contact-form-7/lib/pimex.php on line 173
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/pimex-for-contact-form-7/lib/pimex.php on line 173
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/pimex-for-contact-form-7/settings.php:5
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: "pimex.co"
pimex-for-contact-form-7/index.php 85% from 13 tests
The principal PHP file in "Pimex for Contact Form 7" v. 4.3.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pimex-for-contact-form-7.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin652 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 99 | 17 | 426 |
PHP | 3 | 41 | 19 | 163 |
PO File | 1 | 4 | 6 | 33 |
CSS | 1 | 3 | 0 | 30 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.23 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icono.png | 0.42KB | 0.34KB | ▼ 19.21% |
images/icono_bl.png | 0.29KB | 0.26KB | ▼ 11.30% |
images/logo_head.png | 1.17KB | 1.22KB | 0.00% |