78% full-do-human-support-and-sale

Code Review | Full 24/7 Human Support & Sale

WordPress plugin Full 24/7 Human Support & Sale scored78%from 54 tests.

About plugin

  • Plugin page: full-do-human-sup...
  • Plugin version: 1.0
  • PHP compatiblity: 6.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.0
  • WordPress version: 6.3.1
  • First release: Aug 12, 2022
  • Latest release: Aug 12, 2022
  • Number of updates: 6
  • Update frequency: every 0.5 days
  • Top authors: fulldo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /179 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

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

An overview of server-side resources used by Full 24/7 Human Support & Sale
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.33 ▲1.79
Dashboard /wp-admin3.33 ▲0.0251.69 ▲4.62
Posts /wp-admin/edit.php3.38 ▲0.0248.80 ▼4.05
Add New Post /wp-admin/post-new.php5.91 ▲0.0292.89 ▼6.79
Media Library /wp-admin/upload.php3.25 ▲0.0235.84 ▲3.27

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

Full 24/7 Human Support & Sale: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,984 ▲23813.79 ▼0.626.26 ▲4.5738.06 ▼2.97
Dashboard /wp-admin2,275 ▲874.88 ▼0.01110.74 ▲7.2844.14 ▼2.08
Posts /wp-admin/edit.php2,154 ▲652.02 ▼0.1640.42 ▼0.1233.76 ▼2.27
Add New Post /wp-admin/post-new.php1,527 ▼1517.41 ▼0.91607.90 ▼3.3652.09 ▲0.07
Media Library /wp-admin/upload.php1,453 ▲654.21 ▲0.0494.77 ▼10.9241.83 ▲0.88

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 0% 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× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/full-do-human-support-and-sale/admin/class-fulldo-admin.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/full-do-human-support-and-sale/fulldo-support-widget.php:13

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)
No browser issues were found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
  • Contributors: Plugin contributors not specified
You can look at the official readme.txt

full-do-human-support-and-sale/fulldo-support-widget.php 92% from 13 tests

This is the main PHP file of "Full 24/7 Human Support & Sale" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("full-do-human-support-and-sale.php" instead of "fulldo-support-widget.php")

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
Success! There were no dangerous files found in this plugin381 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
CSS1353235
SVG10052
PHP281049
Markdown112045

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.20
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods5
▷ Static methods00.00%
▷ Public methods5100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.17MB with 0.12MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
admin/assets/welcome_img.png170.05KB52.00KB▼ 69.42%