78% auxin-elements

Code Review | Shortcodes and extra features for Phlox theme

WordPress plugin Shortcodes and extra features for Phlox theme scored78%from 54 tests.

About plugin

  • Plugin page: auxin-elements
  • Plugin version: 2.15.2
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.4.1
  • WordPress version: 6.3.1
  • First release: Aug 30, 2016
  • Latest release: Nov 29, 2023
  • Number of updates: 289
  • Update frequency: every 9.2 days
  • Top authors: averta (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

100,000+ active /2,357,681 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
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.58ms] Passed 4 tests

Analyzing server-side resources used by Shortcodes and extra features for Phlox theme
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0638.34 ▼5.07
Dashboard /wp-admin3.36 ▲0.0144.68 ▼15.91
Posts /wp-admin/edit.php3.47 ▲0.1247.86 ▲1.45
Add New Post /wp-admin/post-new.php5.94 ▲0.0591.52 ▲1.73
Media Library /wp-admin/upload.php3.28 ▲0.0534.14 ▲1.22

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 364 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_recent-comments
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Shortcodes and extra features for Phlox theme
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲7914.31 ▲0.031.78 ▲0.1538.18 ▼5.21
Dashboard /wp-admin2,195 ▲185.64 ▼0.0092.04 ▼0.4942.74 ▼2.17
Posts /wp-admin/edit.php2,103 ▲31.97 ▼0.0540.27 ▲0.0537.86 ▲4.13
Add New Post /wp-admin/post-new.php1,526 ▼023.33 ▲0.17588.46 ▼47.3155.31 ▲4.62
Media Library /wp-admin/upload.php1,400 ▼04.16 ▼0.0397.29 ▲0.0639.58 ▼1.24

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% 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 no errors were found, this is by no means an exhaustive test

SRP 0% from 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
The following issues need your attention
  • 4× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/auxin-elements/auxin-elements.php
    • > /wp-content/plugins/auxin-elements/uninstall.php
    • > /wp-content/plugins/auxin-elements/public/includes/index.php
    • > /wp-content/plugins/auxin-elements/vendor/enshrined/svg-sanitize/src/svg-scanner.php
  • 79× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auxin-elements/admin/includes/admin-ajax.php:65
    • > PHP Fatal error
      Uncaught Error: Class 'Auxin_Upgrader_Prepare' not found in wp-content/plugins/auxin-elements/admin/includes/index.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auxin-elements/includes/elements/recent-posts-tiles-carousel.php:512
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auxin-elements/includes/elements/text.php:954
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auxin-elements/includes/elements/recent-posts-grid-carousel.php:762
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auxin-elements/includes/compatibility/wp-rocket/wp-rocket.php:18
    • > PHP Fatal error
      require(): Failed opening required 'AUXELS_DIR/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/auxin-elements/public/class-auxels.php on line 79
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auxin-elements/includes/elements/gmap.php:217
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auxin-elements/includes/classes/class-auxels-import.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/auxin-elements/includes/general-hooks.php:31

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
Please take inspiration from this readme.txt

auxin-elements/auxin-elements.php Passed 13 tests

"Shortcodes and extra features for Phlox theme" version 2.15.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
125 characters long description:
Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected91,955 lines of code in 316 files:
LanguageFilesBlank linesComment linesLines of code
PHP25110,61110,90164,341
JSON40017,408
PO File12,4175,9335,428
JavaScript135836393,273
SVG393082917
CSS37232337
XML53850251

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity14.25
▷ Minimum class complexity1.00
▷ Maximum class complexity412.00
Average method complexity2.81
▷ Minimum method complexity1.00
▷ Maximum method complexity72.00
Code structure
Namespaces18
Interfaces2
Traits0
Classes161
▷ Abstract classes21.24%
▷ Concrete classes15998.76%
▷ Final classes10.63%
Methods1,189
▷ Static methods594.96%
▷ Public methods89575.27%
▷ Protected methods21317.91%
▷ Private methods816.81%
Functions344
▷ Named functions31390.99%
▷ Anonymous functions319.01%
Constants21
▷ Global constants1571.43%
▷ Class constants628.57%
▷ Public constants6100.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
31 PNG files occupy 0.42MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/includes/compatibility/gopricing/images/templates/classic.png17.44KB16.68KB▼ 4.33%
admin/assets/images/welcome/convertplug-plugin.png21.01KB8.63KB▼ 58.94%
admin/assets/images/welcome/sellkit-plugin.png3.52KB2.67KB▼ 24.08%
admin/assets/images/welcome/js_composer-plugin.png17.16KB6.83KB▼ 60.19%
admin/includes/compatibility/gopricing/images/templates/host-start.png16.24KB15.46KB▼ 4.79%