Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.60ms] Passed 4 tests
An overview of server-side resources used by Mail365 Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.04 ▼2.92 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.05 ▼1.14 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 44.50 ▼3.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 88.85 ▼6.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.60 ▲0.46 |
Mail365 /wp-admin/tools.php?page=mail365 | 3.23 | 31.57 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
mail365_api_key |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mail365 Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.45 | 1.80 ▼0.00 | 44.06 ▼5.40 |
Dashboard /wp-admin | 2,204 ▲13 | 5.84 ▲0.95 | 98.84 ▼18.88 | 38.63 ▼9.30 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 34.08 ▼1.68 | 33.80 ▼3.68 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 18.47 ▲0.96 | 614.79 ▼43.54 | 51.02 ▼4.67 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.16 ▼0.05 | 96.61 ▼2.73 | 43.79 ▲1.42 |
Mail365 /wp-admin/tools.php?page=mail365 | 809 | 2.03 | 23.08 | 37.42 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% 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)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mail365/templates/Activation/activation.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mail365/templates/Import/import.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mail365/mail365.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 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
4 plugin tags: e mail, email, e-mail, mail365
mail365/mail365.php Passed 13 tests
This is the main PHP file of "Mail365 Integration" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
31 characters long description:
Integrate the blog with Mail365
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin445 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 84 | 17 | 287 |
CSS | 1 | 11 | 0 | 67 |
PO File | 1 | 15 | 16 | 56 |
JavaScript | 1 | 6 | 0 | 35 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 11 | 57.89% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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