80% security-made-easy

Code Review | Security Made Easy

WordPress plugin Security Made Easy scored80%from 54 tests.

About plugin

  • Plugin page: security-made-easy
  • Plugin version: 0.4
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.1
  • WordPress version: 6.3.1
  • First release: Jan 22, 2020
  • Latest release: Dec 28, 2022
  • Number of updates: 10
  • Update frequency: every 107.1 days
  • Top authors: veryeasy (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /727 total downloads

Benchmarks

Plugin footprint 65% from 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: ▼2.81MB] [CPU: ▼47.48ms] Passed 4 tests

This is a short check of server-side resources used by Security Made Easy
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.22 ▼5.76
Dashboard /wp-admin3.34 ▲0.0345.80 ▼3.60
Posts /wp-admin/edit.php0.40 ▼2.950.02 ▼48.42
Add New Post /wp-admin/post-new.php0.40 ▼5.480.01 ▼98.83
Media Library /wp-admin/upload.php0.40 ▼2.820.01 ▼36.89

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests

How much does this plugin use your filesystem and database?
Please try to fix the following items
  • The plugin illegally modified 1 file (5.37KB) outside of "wp-content/plugins/security-made-easy/" and "wp-content/uploads/"
    • (modified) wp-config.php
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Security Made Easy
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.27 ▼1.114.98 ▲3.1541.89 ▼9.37
Dashboard /wp-admin2,209 ▲215.92 ▼0.1198.17 ▼4.8240.24 ▼2.72
Posts /wp-admin/edit.php2,081 ▼112.00 ▼0.0336.08 ▼4.2334.26 ▼1.36
Add New Post /wp-admin/post-new.php1,527 ▼723.18 ▲0.06666.73 ▲8.1756.34 ▲4.38
Media Library /wp-admin/upload.php1,374 ▼174.21 ▼0.0095.12 ▼2.7944.90 ▲1.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-config.php+123
    Constant DISALLOW_FILE_EDIT already defined
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: htaccess, guard, protection, security, spam

security-made-easy/security-made-easy.php Passed 13 tests

The main file in "Security Made Easy" v. 0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
49 characters long description:
A set and forget solution for WordPress security.

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
There were no executable files found in this plugin142 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1517142

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.46
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%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected