72% full-customer

Code Review | FULL - Customer

WordPress plugin FULL - Customer scored72%from 54 tests.

About plugin

  • Plugin page: full-customer
  • Plugin version: 2.10.4
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.4.1
  • WordPress version: 6.3.1
  • First release: Jun 16, 2022
  • Latest release: Dec 2, 2023
  • Number of updates: 64
  • Update frequency: every 8.4 days
  • Top authors: fullservices (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

20,000+ active /212,610 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.96MB] [CPU: ▲10.43ms] Passed 4 tests

Analyzing server-side resources used by FULL - Customer
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /4.42 ▲0.9552.25 ▲10.71
Dashboard /wp-admin4.31 ▲0.97980.27 ▲919.63
Posts /wp-admin/edit.php4.35 ▲0.9955.34 ▲9.49
Add New Post /wp-admin/post-new.php6.89 ▲1.00105.22 ▲4.49
Media Library /wp-admin/upload.php4.16 ▲0.9349.25 ▲17.03
FULL.services /wp-admin/admin.php?page=full-connection4.1450.13
FULL.content /wp-admin/admin.php?page=full-content4.1340.96
Bot Store /wp-admin/admin.php?page=full-store4.1343.33
FULL.ai /wp-admin/admin.php?page=full-ai4.1445.39
Extensões /wp-admin/admin.php?page=full-widgets4.1339.99
FULL.security /wp-admin/admin.php?page=full-security4.1543.51

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 723 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for FULL - Customer
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,850 ▲8814.21 ▼0.471.59 ▼0.1640.70 ▼3.18
Dashboard /wp-admin2,237 ▲605.53 ▼0.1193.09 ▼6.5497.97 ▲54.03
Posts /wp-admin/edit.php2,160 ▲602.16 ▲0.1539.94 ▼0.0330.35 ▼4.82
Add New Post /wp-admin/post-new.php1,728 ▲20122.08 ▼1.30738.45 ▲89.4653.34 ▼5.20
Media Library /wp-admin/upload.php1,457 ▲574.23 ▲0.0499.26 ▲1.6966.26 ▲20.86
FULL.services /wp-admin/admin.php?page=full-connection1,2942.0836.2335.37
FULL.content /wp-admin/admin.php?page=full-content1,1782.0929.9338.22
Bot Store /wp-admin/admin.php?page=full-store2,5882.3934.1547.99
FULL.ai /wp-admin/admin.php?page=full-ai1,83113.84151.0933.60
Extensões /wp-admin/admin.php?page=full-widgets2,9122.4138.1844.66
FULL.security /wp-admin/admin.php?page=full-security1,2841.9426.9627.32

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
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 25% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/full-customer/vendor/enshrined/svg-sanitize/src/svg-scanner.php
    • > /wp-content/plugins/full-customer/app/views/admin/templates/sidebar.php
  • 244× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Background.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php:44
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_AttrDef' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Clone.php:7
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_VarParser' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php:8
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_AttrDef_URI' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/URI.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_AttrDef_URI_IPv4' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv6.php:9
    • > PHP Fatal error
      Uncaught Error: Interface 'PhpZip\\Constants\\DosAttrs' not found in wp-content/plugins/full-customer/vendor/nelexa/zip/src/Util/FileAttribUtil.php:20
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_HTMLModule' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Bdo.php:7
    • > PHP Fatal error
      Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/full-customer/vendor/psr/http-message/src/RequestInterface.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'HTMLPurifier_Exception' not found in wp-content/plugins/full-customer/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Exception.php:6

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=full-ai
    • > Console-api (warning) in wp-content/plugins/full-customer/app/assets/vendor/select2/select2.min.js?ver=4.1.0+1:58698
    Select2: The language file for \"./i18n/en-US\" could not be automatically loaded. A fallback will be used instead.

Optimizations

Plugin configuration 97% 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
Please fix the following attributes:
  • Screenshots: Screenshot #1 (FULL website homepage) image missing
You can take inspiration from this readme.txt

full-customer/full-customer.php Passed 13 tests

"FULL - Customer" version 2.10.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
88 characters long description:
This plugin allows automatic installation and activation of plugins purchased from FULL.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected54,319 lines of code in 565 files:
LanguageFilesBlank linesComment linesLines of code
PHP5008,07219,23936,277
CSS121741010,237
JavaScript259883804,798
Markdown1433702,017
JSON1000869
SVG20192
PO File14528
INI1111

PHP code 50% from 2 tests

This plugin's cyclomatic complexity and code structure detailed below
It is recommended to fix the following
  • Method cyclomatic complexity should be reduced to less than 100 (currently 232)
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity12.34
▷ Minimum class complexity1.00
▷ Maximum class complexity539.00
Average method complexity3.56
▷ Minimum method complexity1.00
▷ Maximum method complexity232.00
Code structure
Namespaces60
Interfaces20
Traits0
Classes403
▷ Abstract classes194.71%
▷ Concrete classes38495.29%
▷ Final classes256.51%
Methods1,950
▷ Static methods22011.28%
▷ Public methods1,58781.38%
▷ Protected methods1638.36%
▷ Private methods20010.26%
Functions136
▷ Named functions10677.94%
▷ Anonymous functions3022.06%
Constants273
▷ Global constants114.03%
▷ Class constants26295.97%
▷ Public constants24191.98%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
app/assets/img/full-icon.png10.98KB4.50KB▼ 59.07%
app/assets/img/whatsapp.png0.73KB0.62KB▼ 14.95%
app/assets/img/menu.png1.75KB0.67KB▼ 61.90%
app/assets/img/logo-dark-2.png12.68KB5.08KB▼ 59.97%
app/assets/img/icon-logo-full-ai.png7.93KB3.38KB▼ 57.32%