Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼140.66ms] Passed 4 tests
Server-side resources used by Jannes & Mannes AppMail
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.10 | 41.69 ▲6.71 |
Dashboard /wp-admin | 3.16 ▲0.11 | 50.61 ▲3.75 |
Posts /wp-admin/edit.php | 3.27 ▲0.17 | 45.12 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 96.83 ▼559.87 |
Media Library /wp-admin/upload.php | 3.11 ▲0.10 | 35.87 ▼5.98 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 130 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Jannes & Mannes AppMail
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲103 | 15.84 ▲0.28 | 12.53 ▲1.03 | 45.73 ▼1.68 |
Dashboard /wp-admin | 2,993 ▲62 | 5.91 ▼0.23 | 139.40 ▼7.20 | 107.14 ▲1.43 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.72 ▲0.01 | 66.19 ▼1.41 | 92.22 ▲2.32 |
Add New Post /wp-admin/post-new.php | 1,628 ▼55 | 21.59 ▲3.05 | 332.86 ▼87.85 | 104.40 ▼3.93 |
Media Library /wp-admin/upload.php | 1,827 ▲20 | 5.03 ▼0.01 | 159.99 ▼9.05 | 120.27 ▼2.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/bin/create_pear_package.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/basic-auth.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/session.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/cookie.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/post.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/multiple.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/get.php
- > /wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/examples/cookie_jar.php
- 61× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/HTTP/403.php:13
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/tests/Proxy/HTTP.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Utility_CaseInsensitiveDictionary' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Response/Headers.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/HTTP/505.php:13
- > PHP Fatal error
Uncaught Error: Class 'RequestsTest_Transport_Base' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/tests/Transport/fsockopen.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_Transport' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/Transport/cURL.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/HTTP/503.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/Transport.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/bin/create_pear_package.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/jannes-mannes-appmail/vendor/rmccue/requests/library/Requests/Exception/HTTP/428.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: relay, appmail, mail
jannes-mannes-appmail/jm-appmail.php 85% from 13 tests
The main PHP file in "Jannes & Mannes AppMail" ver. 0.4.6 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("jannes-mannes-appmail.php" instead of "jm-appmail.php")
- Description: Make the plugin description longer than 10 characters (currently 0 characters long)
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 plugin7,258 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 1,325 | 3,730 | 6,165 |
Markdown | 12 | 366 | 0 | 836 |
JSON | 4 | 0 | 0 | 156 |
YAML | 2 | 9 | 5 | 48 |
XML | 1 | 2 | 0 | 37 |
Bourne Shell | 2 | 4 | 0 | 12 |
Python | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 9.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 1 | 1.23% |
▷ Concrete classes | 80 | 98.77% |
▷ Final classes | 0 | 0.00% |
Methods | 437 | |
▷ Static methods | 88 | 20.14% |
▷ Public methods | 392 | 89.70% |
▷ Protected methods | 43 | 9.84% |
▷ Private methods | 2 | 0.46% |
Functions | 11 | |
▷ Named functions | 8 | 72.73% |
▷ Anonymous functions | 3 | 27.27% |
Constants | 29 | |
▷ Global constants | 2 | 6.90% |
▷ Class constants | 27 | 93.10% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin