90% config-email-smtp

Code Review | Config Email SMTP

WordPress plugin Config Email SMTP scored90%from 54 tests.

About plugin

  • Plugin page: config-email-smtp
  • Plugin version: 0.1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Sep 3, 2023
  • Latest release: Sep 3, 2023
  • Number of updates: 5
  • Update frequency: every 0.2 days
  • Top authors: comzeradd (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /57 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▲2.24ms] Passed 4 tests

An overview of server-side resources used by Config Email SMTP
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0143.79 ▲3.46
Dashboard /wp-admin3.32 ▲0.0253.23 ▲6.86
Posts /wp-admin/edit.php3.37 ▲0.0250.60 ▲1.08
Add New Post /wp-admin/post-new.php5.90 ▲0.0296.10 ▲2.01
Media Library /wp-admin/upload.php3.24 ▲0.0241.41 ▲2.41

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

Checking browser requirements for Config Email SMTP
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,805 ▲4414.10 ▼0.161.66 ▼0.3944.68 ▲4.51
Dashboard /wp-admin2,211 ▲405.62 ▲0.0791.32 ▼2.5540.98 ▼0.38
Posts /wp-admin/edit.php2,116 ▲162.01 ▲0.0539.20 ▲0.1835.91 ▼3.66
Add New Post /wp-admin/post-new.php1,539 ▲823.70 ▲0.56660.30 ▼6.8852.00 ▼0.86
Media Library /wp-admin/upload.php1,419 ▲194.25 ▲0.0296.61 ▼8.8141.34 ▼5.86

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: smtp, email

config-email-smtp/config-email-smtp.php Passed 13 tests

Analyzing the main PHP file in "Config Email SMTP" version 0.1.0
57 characters long description:
Sets email SMTP configuration out of wp-config variables.

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
Good job! No executable or dangerous file extensions detected174 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.50
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin