Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.87ms] Passed 4 tests
An overview of server-side resources used by MangoFp
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 37.39 ▲0.98 |
Dashboard /wp-admin | 3.44 ▲0.13 | 44.74 ▼3.24 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.07 ▲2.12 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 84.81 ▼14.99 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.00 ▲1.76 |
Settings /wp-admin/admin.php?page=mangofp-contact | 3.34 | 30.49 |
Contacts /wp-admin/admin.php?page=mangofp-admin | 3.34 | 30.60 |
Server storage [IO: ▲7.70MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 31 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_mangofp_templates |
wp_mangofp_labels |
wp_mangofp_messages |
wp_mangofp_history |
wp_mangofp_options |
New WordPress options |
---|
theysaidso_admin_options |
wp_mangofp_db_version |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for MangoFp
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.40 ▲0.11 | 1.73 ▲0.05 | 41.22 ▲1.60 |
Dashboard /wp-admin | 2,233 ▲45 | 5.88 ▲0.03 | 108.14 ▲0.33 | 39.45 ▼1.31 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 1.99 ▲0.01 | 39.28 ▲2.54 | 35.20 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.14 ▲4.97 | 622.63 ▼5.60 | 54.69 ▼4.71 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.23 ▲0.04 | 95.78 ▼5.34 | 43.52 ▲0.16 |
Settings /wp-admin/admin.php?page=mangofp-contact | 913 | 9.95 | 173.63 | 64.98 |
Contacts /wp-admin/admin.php?page=mangofp-admin | 938 | 6.49 | 88.19 | 34.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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
- The plugin did not uninstall successfully, leaving 5 tables in the database
- wp_mangofp_templates
- wp_mangofp_messages
- wp_mangofp_options
- wp_mangofp_history
- wp_mangofp_labels
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- wp_mangofp_db_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 11× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\BaseEntity' not found in wp-content/plugins/mangofp/src/Entities/Label.php:4
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\BaseEntity' not found in wp-content/plugins/mangofp/src/Entities/Option.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mangofp/mangofp.php on line 211
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\Option' not found in wp-content/plugins/mangofp/src/Entities/Steps.php:7
- > PHP Warning
require_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/mangofp/mangofp.php on line 211
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/mangofp/mangofp.php on line 211
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\BaseEntity' not found in wp-content/plugins/mangofp/src/Entities/Template.php:5
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\BaseEntity' not found in wp-content/plugins/mangofp/src/Entities/Message.php:4
- > PHP Fatal error
Uncaught Error: Class 'MangoFp\\Entities\\BaseEntity' not found in wp-content/plugins/mangofp/src/Entities/HistoryItem.php:15
- > PHP Fatal error
Uncaught Error: Interface 'MangoFp\\UseCases\\iOutput' not found in wp-content/plugins/mangofp/src/Adapters/AdminRoutes.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
5 plugin tags: leads, contact form 7, messages, crm, contact form
mangofp/mangofp.php 92% from 13 tests
"MangoFp" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/mangofp")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected3,046 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 418 | 48 | 2,436 |
JavaScript | 4 | 0 | 1,428 | 473 |
PO File | 1 | 51 | 72 | 132 |
CSS | 4 | 0 | 16 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 12.94 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 15 | 10.42% |
▷ Public methods | 131 | 90.97% |
▷ Protected methods | 12 | 8.33% |
▷ Private methods | 1 | 0.69% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 31 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 31 | 100.00% |
▷ Public constants | 31 | 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
PNG images were not found in this plugin