Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.58ms] Passed 4 tests
This is a short check of server-side resources used by Add entries functionality to WPForms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.48 ▼1.04 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.29 ▼15.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.24 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.16 ▼19.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.03 ▼1.89 |
Server storage [IO: ▲1.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Add entries functionality to WPForms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲63 | 13.20 ▼1.38 | 4.57 ▲2.75 | 38.85 ▼4.78 |
Dashboard /wp-admin | 2,200 ▲15 | 5.81 ▲0.90 | 98.51 ▼9.38 | 40.20 ▼7.86 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.97 ▼0.03 | 40.22 ▲1.89 | 35.07 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,542 ▲13 | 18.04 ▼0.03 | 637.23 ▼48.68 | 57.28 ▲0.64 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.21 ▲0.01 | 95.27 ▼5.15 | 41.96 ▼4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/add-entries-functionality-to-wpforms/add-wpform-entries.php:84
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/add-entries-functionality-to-wpforms/includes/admin/entry/entries-table.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/add-entries-functionality-to-wpforms/includes/frontend/entries-shortcode.php:64
- > PHP Fatal error
Uncaught Error: Class 'Ank_WPForms_DB' not found in wp-content/plugins/add-entries-functionality-to-wpforms/includes/admin/entry/entries-db.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-entries-functionality-to-wpforms/includes/ank-entry-install.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: entry, export, entries, csv, wprforms...
add-entries-functionality-to-wpforms/add-wpform-entries.php 92% from 13 tests
The main PHP file in "Add entries functionality to WPForms" ver. 1.3.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("add-entries-functionality-to-wpforms.php" instead of "add-wpform-entries.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,135 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 353 | 1,004 | 1,061 |
CSS | 3 | 16 | 14 | 71 |
JavaScript | 3 | 1 | 20 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 1 | 14.29% |
Methods | 80 | |
▷ Static methods | 4 | 5.00% |
▷ Public methods | 60 | 75.00% |
▷ Protected methods | 5 | 6.25% |
▷ Private methods | 15 | 18.75% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected