Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.69ms] Passed 4 tests
This is a short check of server-side resources used by EasyMe Connect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.80 ▼4.32 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.26 ▼1.10 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.28 ▲1.26 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 96.83 ▲6.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.76 ▲1.39 |
EasyMe /wp-admin/admin.php?page=easyme | 3.26 | 33.22 |
Access control /wp-admin/admin.php?page=easyme-settings | 3.27 | 35.68 |
Other /wp-admin/admin.php?page=easyme-settings-etc | 3.25 | 34.33 |
Server storage [IO: ▲0.07MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
easyme_connect_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for EasyMe Connect
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲154 | 13.39 ▼0.90 | 2.04 ▲0.36 | 43.35 ▼4.90 |
Dashboard /wp-admin | 2,269 ▲78 | 5.03 ▲0.14 | 110.33 ▲3.68 | 40.89 ▼6.38 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.30 ▲0.29 | 40.28 ▼0.38 | 37.93 ▲4.80 |
Add New Post /wp-admin/post-new.php | 1,557 ▲15 | 17.67 ▼0.71 | 672.13 ▲18.47 | 57.95 ▲1.25 |
Media Library /wp-admin/upload.php | 1,451 ▲60 | 4.49 ▲0.30 | 97.26 ▼8.03 | 41.87 ▼2.20 |
EasyMe /wp-admin/admin.php?page=easyme | 851 | 2.15 | 29.89 | 25.46 |
Access control /wp-admin/admin.php?page=easyme-settings | 1,880 | 8.36 | 181.09 | 69.70 |
Other /wp-admin/admin.php?page=easyme-settings-etc | 876 | 2.15 | 27.59 | 23.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 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 did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/easyme-connect/html/message.php
- 36× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easyme-connect/html/auth-metabox.php:63
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easyme-connect/html/auth-metabox.php on line 9
- > PHP Notice
Undefined variable: _page in wp-content/plugins/easyme-connect/html/auth-metabox.php on line 28
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easyme-connect/html/auth-metabox.php on line 4
- > PHP Notice
Undefined variable: _page in wp-content/plugins/easyme-connect/html/auth-metabox.php on line 9
- > PHP Warning
array_key_exists() expects parameter 2 to be array, unknown given in wp-content/plugins/easyme-connect/html/dashboard-widget.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/easyme-connect/html/auth-metabox.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easyme-connect/html/etc-settings.php:6
- > PHP Notice
Undefined variable: _page in wp-content/plugins/easyme-connect/html/dashboard-widget.php on line 7
- > PHP Notice
Undefined variable: _page in wp-content/plugins/easyme-connect/html/message.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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
5 plugin tags: online courses, easyme, events, subscriptions, booking
easyme-connect/easyme.php 77% from 13 tests
The main PHP script in "EasyMe Connect" version 3.0.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("easyme-connect.php" instead of "easyme.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("7.0" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,303 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 470 | 43 | 1,111 |
PO File | 1 | 57 | 61 | 128 |
JavaScript | 3 | 19 | 1 | 54 |
CSS | 1 | 0 | 0 | 6 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 54.33 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 65 | 82.28% |
▷ Public methods | 55 | 69.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 30.38% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 10 | |
▷ Global constants | 1 | 10.00% |
▷ Class constants | 9 | 90.00% |
▷ Public constants | 9 | 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
There were not PNG files found in your plugin