Benchmarks
Plugin footprint 65% 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.18MB] [CPU: ▼0.57ms] Passed 4 tests
A check of server-side resources used by CF7NXT Lite - Contact Form 7 Save Into Database Plugin By Witoni Software
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.19 | 43.58 ▲2.05 |
Dashboard /wp-admin | 3.53 ▲0.15 | 53.27 ▼8.14 |
Posts /wp-admin/edit.php | 3.65 ▲0.25 | 51.93 ▲3.29 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.21 | 101.93 ▲10.47 |
Media Library /wp-admin/upload.php | 3.46 ▲0.19 | 39.60 ▲0.52 |
Labels /wp-admin/edit-tags.php?taxonomy=cf7nxt_labels&post_type=cf7nxt_panel | 3.45 | 38.59 |
CF7NXT Panel /wp-admin/edit.php?post_type=cf7nxt_panel | 3.50 | 43.07 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_cf7nxt_save |
New WordPress options |
---|
db_upgraded |
cf7nxt_view_install_date |
widget_recent-posts |
widget_theysaidso_widget |
jal_db_version |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CF7NXT Lite - Contact Form 7 Save Into Database Plugin By Witoni Software
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.48 ▼0.80 | 8.44 ▲6.37 | 42.21 ▲1.02 |
Dashboard /wp-admin | 2,230 ▲49 | 5.61 ▼0.02 | 93.26 ▼10.06 | 43.71 ▼1.02 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.98 ▼0.00 | 32.82 ▼1.87 | 33.81 ▼4.09 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.13 ▲0.07 | 648.34 ▼32.43 | 51.02 ▼4.28 |
Media Library /wp-admin/upload.php | 1,426 ▲32 | 4.20 ▼0.03 | 96.01 ▼4.84 | 41.89 ▼3.52 |
Labels /wp-admin/edit-tags.php?taxonomy=cf7nxt_labels&post_type=cf7nxt_panel | 1,309 | 2.12 | 27.19 | 30.96 |
CF7NXT Panel /wp-admin/edit.php?post_type=cf7nxt_panel | 1,211 | 2.07 | 39.32 | 34.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_cf7nxt_save
- Zombie WordPress options were found after uninstall: 8 options
- widget_theysaidso_widget
- jal_db_version
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- cf7nxt_view_install_date
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/cf7-save-into-database/public/partials/cf7nxt-public-display.php
- > /wp-content/plugins/cf7-save-into-database/admin/partials/cf7nxt-admin-display.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-save-into-database/admin/partials/cf7nxt-panel.php on line 18
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-save-into-database/admin/partials/cf7nxt-panel.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/cf7-save-into-database/includes/class-cf7nxt-activator.php:74
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-save-into-database/admin/partials/cf7nxt-panel.php on line 18
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cf7nxt_panel
- > Network (severe)
wp-content/plugins/cf7-save-into-database/admin/css/plugin-name-admin.css?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=cf7nxt_panel
- > Network (severe)
wp-content/plugins/cf7-save-into-database/admin/js/plugin-name-admin.js?ver=1.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: cf7 save, contact form 7 save database
cf7-save-into-database/cf7nxt.php 92% from 13 tests
The main file in "CF7NXT Lite - Contact Form 7 Save Into Database Plugin By Witoni Software" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("cf7-save-into-database.php" instead of "cf7nxt.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin982 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 587 | 768 | 976 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 3 | 4.92% |
▷ Public methods | 53 | 86.89% |
▷ Protected methods | 1 | 1.64% |
▷ Private methods | 7 | 11.48% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin