84% easywebsite-custom-welcome-message

Code Review | Easywebsite Welkoms Bericht

WordPress plugin Easywebsite Welkoms Bericht scored84%from 54 tests.

About plugin

  • Plugin page: easywebsite-custo...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.0
  • WordPress version: 6.3.1
  • First release: Nov 19, 2014
  • Latest release: Nov 26, 2014
  • Number of updates: 5
  • Update frequency: every 1.6 days
  • Top authors: Adsventures (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /896 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

Server-side resources used by Easywebsite Welkoms Bericht
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0243.63 ▲4.07
Dashboard /wp-admin3.32 ▲0.0243.20 ▼3.51
Posts /wp-admin/edit.php3.37 ▲0.0157.20 ▲6.70
Add New Post /wp-admin/post-new.php5.90 ▲0.0294.60 ▼0.71
Media Library /wp-admin/upload.php3.24 ▲0.0132.97 ▼1.42

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

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

Browser metrics Passed 4 tests

A check of browser resources used by Easywebsite Welkoms Bericht
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /5,919 ▲3,14837.17 ▲22.49119.02 ▲117.1740.18 ▼3.26
Dashboard /wp-admin6,099 ▲3,90740.72 ▲35.75854.89 ▲736.0252.64 ▲14.45
Posts /wp-admin/edit.php2,092 ▲31.98 ▼0.0942.70 ▲2.4143.34 ▲8.39
Add New Post /wp-admin/post-new.php1,529 ▼918.46 ▼4.67648.10 ▲37.4146.14 ▼2.95
Media Library /wp-admin/upload.php1,385 ▼34.19 ▼0.0198.88 ▲2.0942.72 ▼0.56

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
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 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 following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easywebsite-custom-welcome-message/welcome.php:184

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line ( === easywebsite-custom-welcome-message === )
You can take inspiration from this readme.txt

easywebsite-custom-welcome-message/welcome.php 92% from 13 tests

"Easywebsite Welkoms Bericht" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("easywebsite-custom-welcome-message.php" instead of "welcome.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin150 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11816150

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.00
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
There were not PNG files found in your plugin