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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.87ms] Passed 4 tests
An overview of server-side resources used by Inesta Send Mail Copy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.90 ▲3.60 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.24 ▼18.01 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.94 ▼0.32 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 96.71 ▼4.42 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.51 ▼0.73 |
Mail Copy /wp-admin/options-general.php?page=in_mc | 3.27 | 33.70 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Inesta Send Mail Copy
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.27 ▼1.03 | 4.35 ▲2.63 | 46.27 ▲8.29 |
Dashboard /wp-admin | 2,228 ▲25 | 4.87 ▼0.08 | 99.31 ▼15.33 | 39.72 ▲2.60 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.97 ▲0.00 | 40.13 ▲3.41 | 40.08 ▲3.27 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 17.53 ▼5.62 | 638.12 ▲17.24 | 70.95 ▲18.91 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▼0.04 | 104.90 ▼15.89 | 45.06 ▼3.75 |
Mail Copy /wp-admin/options-general.php?page=in_mc | 805 | 2.18 | 27.01 | 27.75 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/inesta-send-mail-copy/in_wpmail_copy.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: email, admin
inesta-send-mail-copy/in_wpmail_copy.php 85% from 13 tests
This is the main PHP file of "Inesta Send Mail Copy" 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
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: The principal plugin file should be the same as the plugin slug ("inesta-send-mail-copy.php" instead of "in_wpmail_copy.php")
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 plugin521 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 124 | 188 | 462 |
PO File | 1 | 12 | 13 | 58 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 5 | 14.71% |
▷ Public methods | 32 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.88% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin