84% express-add-on

Code Review | Express Add On

WordPress plugin Express Add On scored84%from 54 tests.

About plugin

  • Plugin page: express-add-on
  • Plugin version: 1.3.9
  • PHP compatiblity: 8.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 6.0-6.3.2
  • WordPress version: 6.3.1
  • First release: Oct 26, 2022
  • Latest release: Nov 3, 2023
  • Number of updates: 39
  • Update frequency: every 9.6 days
  • Top authors: vaksin (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,256 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼9.80ms] Passed 4 tests

An overview of server-side resources used by Express Add On
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0038.16 ▼0.00
Dashboard /wp-admin3.31 ▼0.0446.55 ▼25.26
Posts /wp-admin/edit.php3.36 ▲0.0043.17 ▼0.36
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.60 ▼11.68
Media Library /wp-admin/upload.php3.23 ▲0.0031.77 ▼1.91

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 109 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Express Add On
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲5414.35 ▲0.001.64 ▼0.0548.02 ▲4.50
Dashboard /wp-admin2,198 ▲215.57 ▲0.0587.16 ▼1.4137.54 ▼1.92
Posts /wp-admin/edit.php2,103 ▲32.01 ▲0.0136.62 ▲0.5431.60 ▼4.43
Add New Post /wp-admin/post-new.php1,534 ▲618.41 ▼4.62650.10 ▲37.8965.03 ▲18.02
Media Library /wp-admin/upload.php1,397 ▼34.23 ▲0.0597.32 ▼3.5443.07 ▲3.07

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • 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
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 48× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'VXN\\Express\\Fields\\Field' not found in wp-content/plugins/express-add-on/packages/fields/url-field.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'VXN\\Express\\Fields\\Field' not found in wp-content/plugins/express-add-on/packages/fields/text-area.php:10
    • > PHP Fatal error
      Uncaught Error: Interface 'VXN\\Express\\Module_Interface' not found in wp-content/plugins/express-add-on/modules/woo/woo-module.php:16
    • > PHP Parse error
      syntax error, unexpected '|', expecting variable (T_VARIABLE) in wp-content/plugins/express-add-on/modules/woo/woo.php on line 260
    • > PHP Fatal error
      Uncaught Error: Class 'VXN\\Express\\WP\\Menu_Page\\Menu_Page' not found in wp-content/plugins/express-add-on/modules/whatsapp/admin/whatsapp-page.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'VXN\\Express\\WP\\Menu_Page\\Menu_Page' not found in wp-content/plugins/express-add-on/modules/team-member/admin/team-member-page.php:14
    • > PHP Fatal error
      Trait 'VXN\\Express\\Array_Access' not found in wp-content/plugins/express-add-on/packages/wp/meta/metabox.php on line 15
    • > PHP Fatal error
      Uncaught Error: Class 'Breakdance\\DynamicData\\ImageField' not found in wp-content/plugins/express-add-on/packages/breakdance/dynamic-data/bdd-menu-page-field-image.php:14
    • > PHP Fatal error
      Trait 'VXN\\Express\\Array_Access' not found in wp-content/plugins/express-add-on/packages/wp/post-type/post-type.php on line 15
    • > PHP Parse error
      syntax error, unexpected '|', expecting ';' or '{' in wp-content/plugins/express-add-on/packages/wp/taxonomy/taxonomy-factory.php on line 13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: breakdance, whatsapp

express-add-on/vxn-express.php 85% from 13 tests

Analyzing the main PHP file in "Express Add On" version 1.3.9
Please make the necessary changes and fix the following:
  • 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: Name the main plugin file the same as the plugin slug ("express-add-on.php" instead of "vxn-express.php")

Code Analysis Passed 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 detected6,429 lines of code in 91 files:
LanguageFilesBlank linesComment linesLines of code
PHP881,1961,7935,861
PO File2200279398
JavaScript1499170

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity8.38
▷ Minimum class complexity1.00
▷ Maximum class complexity83.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces28
Interfaces3
Traits5
Classes76
▷ Abstract classes11.32%
▷ Concrete classes7598.68%
▷ Final classes00.00%
Methods457
▷ Static methods21346.61%
▷ Public methods36279.21%
▷ Protected methods132.84%
▷ Private methods8217.94%
Functions87
▷ Named functions00.00%
▷ Anonymous functions87100.00%
Constants19
▷ Global constants19100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin