79% websitez-com

Code Review | Websitez.com

WordPress plugin Websitez.com scored 79% from 54 tests.

About plugin

  • Plugin page: websitez-com
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-6.1
  • WordPress version: 6.3.1
  • First release: May 1, 2023
  • Latest release: May 4, 2023
  • Number of updates: 9
  • Update frequency: every 0.7 days
  • Top authors: odmarkj (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 290 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

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

A check of server-side resources used by Websitez.com
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.98 ▼1.94
Dashboard /wp-admin3.31 ▲0.0043.83 ▼6.95
Posts /wp-admin/edit.php3.36 ▲0.0044.33 ▼1.43
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.04 ▼13.60
Media Library /wp-admin/upload.php3.23 ▲0.0034.75 ▲2.54

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
db_upgraded
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by Websitez.com
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.55 ▼1.201.71 ▼0.0040.74 ▼0.54
Dashboard /wp-admin2,203 ▲155.85 ▲0.9695.08 ▼19.1236.81 ▼11.36
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0534.75 ▼0.3334.54 ▲1.18
Add New Post /wp-admin/post-new.php1,528 ▼523.43 ▲0.15640.17 ▼17.6050.55 ▼8.88
Media Library /wp-admin/upload.php1,388 ▼04.19 ▼0.02104.53 ▲8.3247.36 ▲1.22

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • Incomplete uninstall procedure, leaving 3 files (0.04MB) in the plugin directory
    • (new file) license.txt
    • (new file) readme.txt
    • (new file) websitez-com.php
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

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

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
  • Screenshots: These screenshots lack descriptions #1, #2, #3 in websitez-com/assets to your readme.txt
  • Plugin Name: You should set the name of your plugin on the first line ( === websitez-com === )
You can take inspiration from this readme.txt

websitez-com/websitez-com.php Passed 13 tests

The primary PHP file in "Websitez.com" version 1.1 is used by WordPress to initiate all plugin functionality
84 characters long description:
Turn anonymous website traffic into leads and personalize your website for visitors.

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

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity57.00
▷ Minimum class complexity57.00
▷ Maximum class complexity57.00
Average method complexity3.84
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods20
▷ Static methods840.00%
▷ Public methods20100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions00.00%
▷ Anonymous functions1100.00%
Constants4
▷ Global constants4100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin