Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.18ms] Passed 4 tests
An overview of server-side resources used by Easy Pixels CF7 extension
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.29 ▲0.82 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.31 ▼12.21 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.88 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 83.65 ▲3.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.13 ▼2.59 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Pixels CF7 extension
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.27 ▼0.01 | 1.66 ▼0.05 | 41.83 ▲0.67 |
Dashboard /wp-admin | 2,206 ▲28 | 5.56 ▼0.18 | 81.49 ▼20.09 | 40.38 ▼1.46 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 1.97 ▲0.00 | 35.48 ▲0.23 | 32.87 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 22.98 ▼0.11 | 654.96 ▼47.07 | 52.56 ▲0.21 |
Media Library /wp-admin/upload.php | 1,414 ▲17 | 4.23 ▲0.00 | 96.34 ▼3.34 | 43.34 ▲0.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-pixels-contact-form-extension-by-jevnet/easyPixelsCF7.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-pixels-contact-form-extension-by-jevnet/admin/page-basicNotInstalled.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-pixels-contact-form-extension-by-jevnet/admin/page-easyPixelsCF7Admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-pixels-contact-form-extension-by-jevnet/admin/easyPixelsCF7Admin.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: wpml, ecommerce, marketing, facebook, google...
easy-pixels-contact-form-extension-by-jevnet/easyPixelsCF7.php 92% from 13 tests
This is the main PHP file of "Easy Pixels CF7 extension" version 2.14, 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:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-pixels-contact-form-extension-by-jevnet.php" instead of "easyPixelsCF7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected348 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 45 | 25 | 249 |
PO File | 2 | 21 | 23 | 99 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.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 | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There were not PNG files found in your plugin