77% customizeme

Code Review | CustomizeMe | 3D AR CPQ product configurator

WordPress plugin CustomizeMe | 3D AR CPQ product configurator scored77%from 54 tests.

About plugin

  • Plugin page: customizeme
  • Plugin version: 1.0.0
  • PHP compatiblity: 7.1+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.8-6.0.1
  • WordPress version: 6.3.1
  • First release: Aug 11, 2022
  • Latest release: Sep 7, 2022
  • Number of updates: 29
  • Update frequency: every 1.0 days
  • Top authors: customizemeapp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /662 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

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

This is a short check of server-side resources used by CustomizeMe | 3D AR CPQ product configurator
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.40 ▼0.0636.26 ▲0.68
Dashboard /wp-admin3.33 ▲0.0242.92 ▼7.34
Posts /wp-admin/edit.php3.38 ▲0.0246.81 ▼4.20
Add New Post /wp-admin/post-new.php5.91 ▲0.0283.40 ▼10.67
Media Library /wp-admin/upload.php3.25 ▲0.0234.17 ▼0.79
CustomizeMe /wp-admin/options-general.php?page=customizeme_settings3.1930.76

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for CustomizeMe | 3D AR CPQ product configurator
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,469 ▼27714.45 ▼0.220.50 ▼1.1617.98 ▼26.91
Dashboard /wp-admin2,210 ▲184.85 ▼0.12104.12 ▼1.5238.73 ▼4.18
Posts /wp-admin/edit.php2,093 ▲41.99 ▼0.0139.98 ▲2.8034.35 ▲1.01
Add New Post /wp-admin/post-new.php1,536 ▲1523.36 ▲0.48634.82 ▼50.1561.65 ▲3.11
Media Library /wp-admin/upload.php1,395 ▲74.17 ▼0.10102.85 ▼2.9943.98 ▲1.78
CustomizeMe /wp-admin/options-general.php?page=customizeme_settings7822.0222.9430.51

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=customizeme_settings
    • > Notice in wp-content/plugins/customizeme/customizeme-letzcode.php+223
    Trying to access array offset on value of type bool

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
Please take a closer look at the following
  • 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_url() in wp-content/plugins/customizeme/customizeme-letzcode.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 86% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 17 tag instead of maximum 10
Please take inspiration from this readme.txt

customizeme/customizeme-letzcode.php 77% from 13 tests

"CustomizeMe | 3D AR CPQ product configurator" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("customizeme.php" instead of "customizeme-letzcode.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin346 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP13016182
JavaScript2240164

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.15
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%
Functions18
▷ Named functions18100.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
No PNG files were detected