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 gracefully, with no errors
Server metrics [RAM: ▲1.71MB] [CPU: ▲8.63ms] Passed 4 tests
A check of server-side resources used by Preloader Awesome - Page Loading Animation with Spinner & Gif
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.21 ▲1.74 | 71.12 ▲33.25 |
Dashboard /wp-admin | 5.07 ▲1.72 | 60.51 ▲2.16 |
Posts /wp-admin/edit.php | 5.11 ▲1.76 | 64.89 ▲20.19 |
Add New Post /wp-admin/post-new.php | 7.59 ▲1.71 | 96.17 ▼0.13 |
Media Library /wp-admin/upload.php | 4.90 ▲1.67 | 48.48 ▲12.28 |
Server storage [IO: ▲10.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 549 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Preloader Awesome - Page Loading Animation with Spinner & Gif: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,155 ▲409 | 18.52 ▲4.15 | 3.39 ▲1.66 | 42.38 ▼0.06 |
Dashboard /wp-admin | 2,503 ▲311 | 9.17 ▲4.23 | 180.14 ▲76.28 | 41.19 ▼0.48 |
Posts /wp-admin/edit.php | 2,415 ▲326 | 6.23 ▲4.22 | 85.99 ▲50.32 | 35.07 ▲4.55 |
Add New Post /wp-admin/post-new.php | 1,607 ▲215 | 19.90 ▲1.56 | 733.90 ▲122.62 | 38.78 ▼12.92 |
Media Library /wp-admin/upload.php | 1,550 ▲162 | 6.60 ▲2.38 | 106.52 ▲2.96 | 43.93 ▼3.74 |
Documentation /wp-admin/crb_carbon_fields_container_documentation.php | 26 | 0.44 | 0.10 | 13.38 |
Preloader /wp-admin/crb_carbon_fields_container_preloader_awesome_opts.php | 26 | 0.44 | 0.06 | 6.85 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 149× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function carbon_get_post_meta() in wp-content/plugins/preloader-awesome/public/styles-page/style-genep.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function carbon_get_theme_option() in wp-content/plugins/preloader-awesome/public/styles/style-tujuh.php:4
- > PHP Notice
Undefined variable: plural in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 32
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/templates/Container/comment_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Date_Field' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Field/Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Field/Map_Field.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Scripts_Field' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Field/Header_Scripts_Field.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Field/Predefined_Options_Field.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/preloader-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Blog_ID_Condition.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/crb_carbon_fields_container_documentation.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_documentation.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/crb_carbon_fields_container_preloader_awesome_opts.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_preloader_awesome_opts.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 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
8 plugin tags: preloader plugin, preloader, preloader animation, loading, page loader...
preloader-awesome/preloader-awesome.php Passed 13 tests
The main PHP script in "Preloader Awesome - Page Loading Animation with Spinner & Gif" version 1.0.0 is automatically included on every request by WordPress
134 characters long description:
Preloader Awesome is an awesome plugin that helps You to create the Page Preloader into your WordPress Site berfore serve it contents.
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
Everything looks great! No dangerous files found in this plugin32,350 lines of code in 477 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 186 | 5,316 | 8,756 | 13,481 |
PHP | 196 | 3,288 | 7,212 | 12,416 |
CSS | 12 | 380 | 1,151 | 2,309 |
Sass | 50 | 336 | 0 | 1,760 |
PO File | 20 | 610 | 779 | 1,652 |
JSON | 8 | 0 | 0 | 648 |
Markdown | 5 | 31 | 0 | 84 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 8.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 24 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 133 | |
▷ Abstract classes | 11 | 8.27% |
▷ Concrete classes | 122 | 91.73% |
▷ Final classes | 1 | 0.82% |
Methods | 948 | |
▷ Static methods | 99 | 10.44% |
▷ Public methods | 773 | 81.54% |
▷ Protected methods | 165 | 17.41% |
▷ Private methods | 10 | 1.05% |
Functions | 119 | |
▷ Named functions | 36 | 30.25% |
▷ Anonymous functions | 83 | 69.75% |
Constants | 35 | |
▷ Global constants | 12 | 34.29% |
▷ Class constants | 23 | 65.71% |
▷ Public constants | 23 | 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
No PNG files were detected