Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲8.08ms] Passed 4 tests
Analyzing server-side resources used by Arconix Shortcodes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.17 ▲3.60 |
Dashboard /wp-admin | 3.43 ▲0.09 | 75.81 ▲18.36 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 68.28 ▲21.21 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 103.28 ▲2.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 44.59 ▲8.34 |
Frequently Asked Questions for Arconix Shortcodes /wp-admin/index.php?page=shortcodes_faq_page | 3.31 | 61.85 |
Server storage [IO: ▲1.92MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
shortcodes_version |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Arconix Shortcodes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 14.32 ▼0.03 | 1.77 ▼0.03 | 40.03 ▲1.30 |
Dashboard /wp-admin | 2,239 ▲58 | 5.58 ▼0.07 | 97.02 ▼2.66 | 91.56 ▲49.82 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.19 ▲0.19 | 36.53 ▲1.96 | 33.74 ▼4.38 |
Add New Post /wp-admin/post-new.php | 6,331 ▲4,792 | 26.07 ▲2.93 | 1,018.36 ▲366.25 | 79.33 ▲26.57 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.19 ▼0.02 | 119.52 ▲23.90 | 74.99 ▲31.44 |
Frequently Asked Questions for Arconix Shortcodes /wp-admin/index.php?page=shortcodes_faq_page | 921 | 2.02 | 24.71 | 41.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- shortcodes_version
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/arconix-shortcodes/includes/component/welcome-page/templates/social-media-elements.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/arconix-shortcodes/includes/component/welcome-page/templates/welcome/welcome-page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/arconix-shortcodes/plugin.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function get_query_var() in wp-content/plugins/arconix-shortcodes/includes/component/faq-support/templates/faq-page/faq-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: toggle, tabs, buttons, accordion, shortcodes...
arconix-shortcodes/plugin.php 85% from 13 tests
The main PHP file in "Arconix Shortcodes" ver. 2.1.9 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("arconix-shortcodes.php" instead of "plugin.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin5,057 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 753 | 1,358 | 2,370 |
CSS | 5 | 73 | 110 | 1,403 |
SVG | 1 | 0 | 0 | 565 |
LESS | 10 | 100 | 144 | 548 |
JavaScript | 4 | 20 | 71 | 170 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 29.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 39 | 51.32% |
▷ Public methods | 69 | 90.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 9.21% |
Functions | 32 | |
▷ Named functions | 32 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
33 PNG files occupy 0.29MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 38.61KB | 13.33KB | ▼ 65.48% |
images/box-download.png | 1.22KB | 1.33KB | 0.00% |
includes/component/welcome-page/assets/images/acs_misellaneous.png | 20.71KB | 8.55KB | ▼ 58.70% |
screenshot-1.png | 48.56KB | 20.05KB | ▼ 58.71% |
images/close.png | 0.32KB | 0.34KB | 0.00% |