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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.34 ▼5.07 |
Dashboard /wp-admin | 3.36 ▲0.01 | 44.68 ▼15.91 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.86 ▲1.45 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.52 ▲1.73 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲79 | 14.31 ▲0.03 | 1.78 ▲0.15 | 38.18 ▼5.21 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▼0.00 | 92.04 ▼0.49 | 42.74 ▼2.17 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.97 ▼0.05 | 40.27 ▲0.05 | 37.86 ▲4.13 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.17 | 588.46 ▼47.31 | 55.31 ▲4.62 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.16 ▼0.03 | 97.29 ▲0.06 | 39.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
- > PHP Fatal error
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
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 251 | 10,611 | 10,901 | 64,341 |
JSON | 4 | 0 | 0 | 17,408 |
PO File | 1 | 2,417 | 5,933 | 5,428 |
JavaScript | 13 | 583 | 639 | 3,273 |
SVG | 39 | 308 | 2 | 917 |
CSS | 3 | 72 | 32 | 337 |
XML | 5 | 38 | 50 | 251 |
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 code | 0.32 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 412.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 72.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 161 | |
▷ Abstract classes | 2 | 1.24% |
▷ Concrete classes | 159 | 98.76% |
▷ Final classes | 1 | 0.63% |
Methods | 1,189 | |
▷ Static methods | 59 | 4.96% |
▷ Public methods | 895 | 75.27% |
▷ Protected methods | 213 | 17.91% |
▷ Private methods | 81 | 6.81% |
Functions | 344 | |
▷ Named functions | 313 | 90.99% |
▷ Anonymous functions | 31 | 9.01% |
Constants | 21 | |
▷ Global constants | 15 | 71.43% |
▷ Class constants | 6 | 28.57% |
▷ Public constants | 6 | 100.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 | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/includes/compatibility/gopricing/images/templates/classic.png | 17.44KB | 16.68KB | ▼ 4.33% |
admin/assets/images/welcome/convertplug-plugin.png | 21.01KB | 8.63KB | ▼ 58.94% |
admin/assets/images/welcome/sellkit-plugin.png | 3.52KB | 2.67KB | ▼ 24.08% |
admin/assets/images/welcome/js_composer-plugin.png | 17.16KB | 6.83KB | ▼ 60.19% |
admin/includes/compatibility/gopricing/images/templates/host-start.png | 16.24KB | 15.46KB | ▼ 4.79% |