99% iqq-smtp

Code Review | IQQ WP SMTP

WordPress plugin IQQ WP SMTP scored 99% from 54 tests.

About plugin

  • Plugin page: iqq-smtp
  • Plugin version: 0.2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2-4.7.3
  • WordPress version: 5.8.1
  • First release: Mar 14, 2016
  • Latest release: Apr 11, 2017
  • Number of updates: 10
  • Update frequency: every 39.6 days
  • Top authors: iseqqavoq (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,016 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.05MB] [CPU: ▼141.52ms] Passed 4 tests

This is a short check of server-side resources used by IQQ WP SMTP
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.1634.19 ▲11.07
Dashboard /wp-admin3.11 ▲0.0550.28 ▲1.96
Posts /wp-admin/edit.php3.16 ▲0.0545.93 ▼5.73
Add New Post /wp-admin/post-new.php5.46 ▲0.0394.51 ▼565.51
Media Library /wp-admin/upload.php3.05 ▲0.0535.45 ▲3.21
SMTP /wp-admin/options-general.php?page=smtp3.0333.29

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

IQQ WP SMTP: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,684 ▲11215.85 ▲0.409.54 ▼0.9943.15 ▼8.16
Dashboard /wp-admin2,971 ▲375.93 ▲0.01152.40 ▲3.41115.49 ▼5.83
Posts /wp-admin/edit.php2,744 ▲52.82 ▲0.1271.18 ▼1.2592.60 ▲2.54
Add New Post /wp-admin/post-new.php1,618 ▼6521.13 ▲2.45283.36 ▼113.08104.43 ▼5.82
Media Library /wp-admin/upload.php1,815 ▲55.03 ▲0.00158.27 ▼2.25122.64 ▼7.06
SMTP /wp-admin/options-general.php?page=smtp1,1782.0959.1577.29

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: smtp, mail

iqq-smtp/iqq-smtp.php 85% from 13 tests

The primary PHP file in "IQQ WP SMTP" version 0.2.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin306 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP37112306

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity28.00
▷ Minimum class complexity28.00
▷ Maximum class complexity28.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods11100.00%
▷ Public methods11100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin