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.80MB] [CPU: ▲2.54ms] Passed 4 tests
This is a short check of server-side resources used by = Madeep WP Connector
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.25 ▲0.79 | 45.32 ▲0.08 |
Dashboard /wp-admin | 4.16 ▲0.86 | 58.84 ▲10.48 |
Posts /wp-admin/edit.php | 4.21 ▲0.86 | 55.10 ▲8.92 |
Add New Post /wp-admin/post-new.php | 6.64 ▲0.76 | 89.50 ▼7.13 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 43.64 ▲8.29 |
Server storage [IO: ▲0.36MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: 7 new tables, 7 new options
New tables |
---|
wp_madeep_events |
wp_madeep_hotels |
wp_madeep_ecoms |
wp_madeep_services |
wp_madeep_offers |
wp_madeep_rooms |
wp_madeep_config |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
madeep_sync_key |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
= Madeep WP Connector: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲177 | 13.53 ▼0.70 | 1.80 ▼0.87 | 41.14 ▼5.35 |
Dashboard /wp-admin | 2,313 ▲125 | 4.94 ▲0.07 | 110.97 ▲7.43 | 41.73 ▲2.78 |
Posts /wp-admin/edit.php | 2,201 ▲112 | 2.13 ▲0.15 | 41.47 ▲0.76 | 35.53 ▼1.28 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 23.29 ▲5.20 | 587.51 ▼33.35 | 49.31 ▼2.71 |
Media Library /wp-admin/upload.php | 1,502 ▲117 | 4.49 ▲0.29 | 98.64 ▼3.46 | 43.57 ▲1.07 |
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_madeep_config
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- madeep_sync_key
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/madeep-wp-connector/madeep.php
- 27× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options.php:7
- > PHP Fatal error
require_once(): Failed opening required 'Madeep_Dirsources/Madeep-Admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-debug.php on line 2
- > PHP Warning
Use of undefined constant Madeep_Dir - assumed 'Madeep_Dir' (this will throw an Error in a future version of PHP) in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-templates.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/madeep-wp-connector/sources/Madeep-Admin.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'Madeep_Dirsources/Madeep-Admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-languages.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/madeep-wp-connector/sources/Madeep-Admin.php on line 4
- > PHP Notice
Undefined index: madeepDebug in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options.php on line 2
- > PHP Warning
require_once(Madeep_Dirsources/Madeep-Admin.php): failed to open stream: No such file or directory in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-status.php on line 2
- > PHP Warning
require_once(Madeep_Dirsources/Madeep-Admin.php): failed to open stream: No such file or directory in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-languages.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'Madeep_Dirsources/Madeep-Admin.php' (include_path='.:/usr/share/php') in wp-content/plugins/madeep-wp-connector/sources/pages/madeep-options-status.php on line 2
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Contributors: Contributors not specified
madeep-wp-connector/madeep.php 92% from 13 tests
The main PHP script in "= Madeep WP Connector" version 0.4.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("madeep-wp-connector.php" instead of "madeep.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
There were no executable files found in this plugin4,171 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 575 | 399 | 3,746 |
CSS | 3 | 15 | 4 | 158 |
JSON | 7 | 0 | 0 | 118 |
SVG | 1 | 1 | 1 | 97 |
JavaScript | 3 | 7 | 10 | 52 |
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.41 |
Average class complexity | 249.50 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 416.00 |
Average method complexity | 4.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 53 | 40.46% |
▷ Public methods | 89 | 67.94% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 42 | 32.06% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There were not PNG files found in your plugin