Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.54ms] Passed 4 tests
An overview of server-side resources used by Style Kits - Advanced Theme Styles for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.02 ▲2.50 |
Dashboard /wp-admin | 3.32 ▼0.02 | 46.53 ▼12.68 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.14 ▲2.37 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.81 ▼10.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.92 ▼1.58 |
Welcome to Style Kits /wp-admin/admin.php?page=analog_onboarding | 3.23 | 33.75 |
Server storage [IO: ▲1.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 112 new files
Database: no new tables, 8 new options
New WordPress options |
---|
analog_onboarding |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
ran_onboarding |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Style Kits - Advanced Theme Styles for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.40 ▼0.13 | 1.87 ▲0.16 | 45.28 ▲1.33 |
Dashboard /wp-admin | 2,200 ▲23 | 5.58 ▲0.00 | 93.46 ▲2.47 | 42.31 ▲2.39 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.15 ▲0.13 | 33.67 ▼5.55 | 33.17 ▼4.66 |
Add New Post /wp-admin/post-new.php | 1,543 ▲12 | 18.38 ▼5.00 | 597.62 ▼72.63 | 58.50 ▲0.80 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.27 ▲0.10 | 100.47 ▼0.34 | 43.83 ▲0.29 |
Welcome to Style Kits /wp-admin/admin.php?page=analog_onboarding | 1,345 | 2.05 | 23.42 | 31.65 |
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
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- analog_onboarding
- ran_onboarding
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 35× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function Analog\\Settings\\add_action() in wp-content/plugins/analogwp-templates/inc/register-settings.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function Analog\\Elementor\\Kit\\add_action() in wp-content/plugins/analogwp-templates/inc/elementor/kit/Manager.php:53
- > PHP Fatal error
Uncaught Error: Interface 'Analog\\Dependencies\\enshrined\\svgSanitize\\data\\TagInterface' not found in wp-content/plugins/analogwp-templates/third-party/vendor/enshrined/svg-sanitize/src/data/AllowedTags.php:10
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/analogwp-templates/inc/elementor/kit/Instance_List_Table.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'Analog\\Base' not found in wp-content/plugins/analogwp-templates/inc/admin/class-admin.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI' not found in wp-content/plugins/analogwp-templates/inc/cli/commands.php:11
- > PHP Fatal error
Uncaught Error: Class 'Analog\\Options' not found in wp-content/plugins/analogwp-templates/inc/Core/SVGs/Allow.php:33
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\Common\\Modules\\Finder\\Base_Category' not found in wp-content/plugins/analogwp-templates/inc/elementor/class-finder-shortcuts.php:15
- > PHP Fatal error
Namespace declaration statement has to be the very first statement or after any declare call in the script in wp-content/plugins/analogwp-templates/third-party/vendor/enshrined/svg-sanitize/src/svg-scanner.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function Analog\\Settings\\views\\esc_html_e() in wp-content/plugins/analogwp-templates/inc/settings/views/html-admin-settings-gopro.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #3 (Tools for better global design control) image required
analogwp-templates/analogwp-templates.php 85% from 13 tests
The main PHP file in "Style Kits - Advanced Theme Styles for Elementor" ver. 2.0.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 182 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin14,045 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 80 | 2,273 | 4,493 | 11,272 |
CSS | 5 | 302 | 44 | 1,610 |
JavaScript | 14 | 184 | 112 | 1,090 |
YAML | 2 | 5 | 0 | 54 |
SVG | 5 | 0 | 0 | 17 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 2 | |
Traits | 2 | |
Classes | 62 | |
▷ Abstract classes | 1 | 1.61% |
▷ Concrete classes | 61 | 98.39% |
▷ Final classes | 10 | 16.39% |
Methods | 494 | |
▷ Static methods | 73 | 14.78% |
▷ Public methods | 411 | 83.20% |
▷ Protected methods | 50 | 10.12% |
▷ Private methods | 33 | 6.68% |
Functions | 62 | |
▷ Named functions | 36 | 58.06% |
▷ Anonymous functions | 26 | 41.94% |
Constants | 27 | |
▷ Global constants | 8 | 29.63% |
▷ Class constants | 19 | 70.37% |
▷ Public constants | 19 | 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
1 compressed PNG file occupies 0.16MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/gopro_frames.png | 166.85KB | 181.06KB | 0.00% |