Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.47ms] Passed 4 tests
An overview of server-side resources used by F13 Email
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.52 ▼4.47 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.66 ▼3.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.94 ▲1.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 91.07 ▼0.76 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.81 ▼1.28 |
Plugins /wp-admin/admin.php?page=f13-settings | 3.31 | 450.58 |
Email /wp-admin/admin.php?page=f13-email | 3.28 | 32.60 |
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: 3 new tables, 6 new options
New tables |
---|
wp_f13_email_contact_form |
wp_f13_email_logs |
wp_f13_email_contact_form_fields |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for F13 Email
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲171 | 13.75 ▼0.56 | 5.11 ▲3.50 | 40.45 ▼2.51 |
Dashboard /wp-admin | 2,229 ▲41 | 5.15 ▼0.73 | 98.06 ▼4.68 | 39.47 ▼3.09 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.24 ▲0.27 | 37.42 ▲0.46 | 35.06 ▲3.42 |
Add New Post /wp-admin/post-new.php | 1,547 ▲12 | 23.40 ▲0.05 | 642.41 ▼39.21 | 37.17 ▼15.08 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.15 ▼0.08 | 101.40 ▼3.07 | 44.43 ▼2.91 |
Plugins /wp-admin/admin.php?page=f13-settings | 931 | 1.82 | 24.54 | 23.77 |
Email /wp-admin/admin.php?page=f13-email | 856 | 1.82 | 23.74 | 30.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_f13_email_contact_form
- wp_f13_email_logs
- wp_f13_email_contact_form_fields
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/f13-email/f13-email.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/f13-email/f13-email.php on line 15
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/f13-email/f13-email.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in f13-email/assets to your readme.txt
f13-email/f13-email.php Passed 13 tests
Analyzing the main PHP file in "F13 Email" version 1.0.2
76 characters long description:
Use SMTP for sending emails, store email logs and build custom contact forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,324 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 227 | 27 | 1,158 |
JavaScript | 2 | 24 | 0 | 116 |
CSS | 2 | 0 | 0 | 50 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 2 | 3.77% |
▷ Public methods | 53 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There were not PNG files found in your plugin