Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.84MB] [CPU: ▲6.16ms] Passed 4 tests
A check of server-side resources used by WPO365 | MICROSOFT 365 GRAPH MAILER
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.05 ▲0.59 | 42.54 ▲2.89 |
Dashboard /wp-admin | 4.22 ▲0.92 | 53.88 ▲9.98 |
Posts /wp-admin/edit.php | 4.27 ▲0.92 | 57.94 ▲12.20 |
Add New Post /wp-admin/post-new.php | 6.80 ▲0.92 | 98.48 ▲1.72 |
Media Library /wp-admin/upload.php | 4.15 ▲0.92 | 44.46 ▲10.04 |
Server storage [IO: ▲2.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 82 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPO365 | MICROSOFT 365 GRAPH MAILER
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲59 | 14.69 ▲0.39 | 1.71 ▲0.00 | 40.13 ▼3.05 |
Dashboard /wp-admin | 2,211 ▲34 | 5.62 ▲0.01 | 91.78 ▼8.70 | 37.72 ▼0.73 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▲0.02 | 39.44 ▼1.46 | 36.05 ▼1.29 |
Add New Post /wp-admin/post-new.php | 1,548 ▲19 | 24.94 ▲1.83 | 611.37 ▲5.47 | 59.53 ▼1.03 |
Media Library /wp-admin/upload.php | 1,419 ▲25 | 4.16 ▼0.04 | 98.08 ▲0.72 | 40.11 ▼0.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/Rijndael.php:64
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/RC4.php:54
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/Blowfish.php:48
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\et\\SSH2' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Net/SFTP.php:47
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Rijndael' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/AES.php:59
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/Twofish.php:48
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/DES.php:52
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\Base' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/RC2.php:44
- > PHP Fatal error
Uncaught Error: Class 'phpseclib\\Crypt\\DES' not found in wp-content/plugins/wpo365-msgraphmailer/phpseclib/Crypt/TripleDES.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wpo365-msgraphmailer/wpo365-msgraphmailer.php 92% from 13 tests
"WPO365 | MICROSOFT 365 GRAPH MAILER" version 2.23's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 222 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected27,884 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 70 | 5,389 | 13,901 | 27,754 |
Markdown | 2 | 36 | 0 | 66 |
JSON | 1 | 0 | 0 | 29 |
CSS | 1 | 3 | 0 | 24 |
JavaScript | 1 | 8 | 92 | 11 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 80.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 633.00 |
Average method complexity | 6.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 61 | |
▷ Abstract classes | 1 | 1.64% |
▷ Concrete classes | 60 | 98.36% |
▷ Final classes | 0 | 0.00% |
Methods | 857 | |
▷ Static methods | 196 | 22.87% |
▷ Public methods | 816 | 95.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 41 | 4.78% |
Functions | 20 | |
▷ Named functions | 2 | 10.00% |
▷ Anonymous functions | 18 | 90.00% |
Constants | 210 | |
▷ Global constants | 20 | 9.52% |
▷ Class constants | 190 | 90.48% |
▷ Public constants | 190 | 100.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
There were not PNG files found in your plugin