90% mail-caesar

Code Review | Mail Caesar!

WordPress plugin Mail Caesar! scored90%from 54 tests.

About plugin

  • Plugin page: mail-caesar
  • Plugin version: 1.2.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3
  • WordPress version: 6.3.1
  • First release: Oct 4, 2019
  • Latest release: Sep 1, 2023
  • Number of updates: 25
  • Update frequency: every 57.2 days
  • Top authors: roytanck (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,331 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼13.41ms] Passed 4 tests

An overview of server-side resources used by Mail Caesar!
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.87 ▼15.25
Dashboard /wp-admin3.31 ▲0.0050.19 ▼0.26
Posts /wp-admin/edit.php3.36 ▲0.0049.17 ▼4.29
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.61 ▼26.99
Media Library /wp-admin/upload.php3.23 ▲0.0039.75 ▼7.12

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

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Mail Caesar!
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.69 ▲0.471.76 ▲0.0139.67 ▼2.77
Dashboard /wp-admin2,195 ▲185.61 ▼0.0292.73 ▼1.6241.80 ▼1.31
Posts /wp-admin/edit.php2,097 ▼32.03 ▲0.0339.68 ▼0.6337.13 ▲1.64
Add New Post /wp-admin/post-new.php1,526 ▼222.78 ▼0.54656.72 ▼40.0256.36 ▲3.99
Media Library /wp-admin/upload.php1,397 ▼04.17 ▼0.0399.51 ▼6.9541.85 ▼8.53

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested

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
The SRP test was a success

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 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: email, multisite, testing, development

mail-caesar/mail-caesar.php 92% from 13 tests

The entry point to "Mail Caesar!" version 1.2.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected24 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1102324

PHP code Passed 2 tests

An short overview of 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.70
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ 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 files were detected