Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲1.30MB] [CPU: ▲7.18ms] Passed 4 tests
Analyzing server-side resources used by Slicko
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.28 ▲0.82 | 39.91 ▲0.36 |
Dashboard /wp-admin | 4.81 ▲1.51 | 59.80 ▲10.06 |
Posts /wp-admin/edit.php | 4.86 ▲1.50 | 59.06 ▲10.55 |
Add New Post /wp-admin/post-new.php | 7.33 ▲1.45 | 105.28 ▲9.31 |
Media Library /wp-admin/upload.php | 4.67 ▲1.44 | 48.05 ▲8.99 |
Import Demo Data /wp-admin/admin.php?page=pt-one-click-demo-import | 4.54 | 34.49 |
All Slide /wp-admin/edit.php?post_type=slicko_slide | 4.71 | 44.14 |
All Mega Menus /wp-admin/edit.php?post_type=slicko_megamenu | 4.71 | 44.80 |
Add New Slide /wp-admin/post-new.php?post_type=slicko_slide | 4.89 | 55.75 |
All Footers /wp-admin/edit.php?post_type=slicko_footer | 4.71 | 44.73 |
Import Demo Data /wp-admin/themes.php?page=one-click-demo-import | 4.78 | 74.90 |
All Headers /wp-admin/edit.php?post_type=slicko_header | 4.71 | 65.13 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 212 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Slicko
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲100 | 14.35 ▼0.36 | 1.62 ▼0.41 | 37.34 ▼5.80 |
Dashboard /wp-admin | 2,283 ▲106 | 5.60 ▲0.07 | 90.31 ▼1.61 | 40.66 ▼1.36 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 1.96 ▼0.00 | 43.58 ▲4.95 | 38.88 ▲2.25 |
Add New Post /wp-admin/post-new.php | 1,596 ▲61 | 23.07 ▲4.97 | 641.68 ▲1.69 | 64.72 ▲2.33 |
Media Library /wp-admin/upload.php | 1,488 ▲88 | 4.23 ▲0.02 | 98.87 ▼12.84 | 47.67 ▲0.56 |
Import Demo Data /wp-admin/admin.php?page=pt-one-click-demo-import | 28 | 0.42 | 0.09 | 4.24 |
All Slide /wp-admin/edit.php?post_type=slicko_slide | 1,146 | 1.95 | 33.35 | 30.36 |
All Mega Menus /wp-admin/edit.php?post_type=slicko_megamenu | 1,149 | 1.96 | 32.86 | 33.09 |
Add New Slide /wp-admin/post-new.php?post_type=slicko_slide | 2,287 | 7.70 | 169.66 | 65.01 |
All Footers /wp-admin/edit.php?post_type=slicko_footer | 1,148 | 1.99 | 34.92 | 28.83 |
Import Demo Data /wp-admin/themes.php?page=one-click-demo-import | 1,258 | 2.05 | 24.70 | 58.70 |
All Headers /wp-admin/edit.php?post_type=slicko_header | 1,151 | 1.99 | 32.96 | 29.89 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/slicko-for-elementor/lib/ocdi/ocdi.php
- > /wp-content/plugins/slicko-for-elementor/lib/ocdi/github/one-click-demo-import/one-click-demo-import.php
- 41× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AwesomeMotive\\WPContentImporter2\\WPImporterLogger' not found in wp-content/plugins/slicko-for-elementor/lib/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WPImporterLoggerCLI.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/slicko-for-elementor/lib/ocdi/inc/WPCLICommands.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/slicko-for-elementor/inc/demo-setup.php:4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-upgrader.php' (include_path='.:/usr/share/php') in wp-content/plugins/slicko-for-elementor/lib/ocdi/inc/PluginInstallerSkin.php on line 11
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/slicko-for-elementor/lib/ocdi/github/one-click-demo-import/tests/bootstrap.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/slicko-for-elementor/lib/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php:7
- > PHP Fatal error
Uncaught Error: Class 'OCDI\\PluginInstaller' not found in wp-content/plugins/slicko-for-elementor/lib/ocdi/views/install-plugins.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slicko-for-elementor/inc/Metabox/nav.php:42
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-upgrader.php): failed to open stream: No such file or directory in wp-content/plugins/slicko-for-elementor/lib/ocdi/inc/PluginInstallerSkinSilent.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/slicko-for-elementor/lib/ocdi/github/one-click-demo-import/tests/test-one-click-demo-import.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=pt-one-click-demo-import
- > Network (severe)
wp-admin/admin.php?page=pt-one-click-demo-import - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
slicko-for-elementor/slicko.php 77% from 13 tests
"Slicko" version 1.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("slicko-for-elementor.php" instead of "slicko.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Git Repository: A Git repository was detected inside this plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected45,499 lines of code in 145 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 77 | 3,396 | 4,337 | 26,134 |
CSS | 9 | 982 | 89 | 7,276 |
JSON | 7 | 0 | 0 | 5,692 |
XML | 12 | 285 | 413 | 2,520 |
JavaScript | 13 | 389 | 347 | 1,748 |
Sass | 1 | 208 | 11 | 1,011 |
SVG | 19 | 0 | 0 | 489 |
Markdown | 3 | 197 | 0 | 445 |
Bourne Shell | 4 | 36 | 22 | 184 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 290.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 78 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 78 | 100.00% |
▷ Final classes | 3 | 3.85% |
Methods | 660 | |
▷ Static methods | 105 | 15.91% |
▷ Public methods | 465 | 70.45% |
▷ Protected methods | 114 | 17.27% |
▷ Private methods | 81 | 12.27% |
Functions | 47 | |
▷ Named functions | 16 | 34.04% |
▷ Anonymous functions | 31 | 65.96% |
Constants | 25 | |
▷ Global constants | 20 | 80.00% |
▷ Class constants | 5 | 20.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin