Benchmarks
Plugin footprint Passed 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: ▼326.70ms] Passed 4 tests
Server-side resources used by Ev Gold Preloader
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.55 | 55.84 ▼75.23 |
Dashboard /wp-admin | 3.49 ▲0.08 | 37.90 ▼2.10 |
Posts /wp-admin/edit.php | 3.71 ▲0.07 | 43.42 ▲4.62 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 100.56 ▼1,229.89 |
Media Library /wp-admin/upload.php | 3.36 ▲0.07 | 27.05 ▲0.43 |
EV Gold Preloader /wp-admin/options-general.php?page=ev-gold-preloader | 3.31 | 24.30 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Ev Gold Preloader: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,947 ▲193 | 16.03 ▲0.45 | 13.50 ▲7.17 | 16.73 ▲13.83 |
Dashboard /wp-admin | 2,884 ▲23 | 6.11 ▼0.08 | 139.24 ▼0.97 | 168.60 ▼46.90 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.23 ▲0.01 | 64.80 ▼0.94 | 143.22 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,784 ▲32 | 20.38 ▼0.54 | 445.33 ▼29.30 | 170.12 ▼12.35 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.52 ▲0.01 | 175.45 ▲12.13 | 194.65 ▲4.29 |
EV Gold Preloader /wp-admin/options-general.php?page=ev-gold-preloader | 1,826 | 3.52 | 78.96 | 133.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ev-gold-preloader
- > Notice in wp-content/plugins/ev-gold-preloader/helpers/helper.php+108
Undefined index: lblTitle
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ev-gold-preloader
- > Warning in wp-content/plugins/ev-gold-preloader/helpers/helper.php+108
count(): Parameter must be an array or an object that implements Countable
- 23 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ev-gold-preloader
- > Notice in wp-content/plugins/ev-gold-preloader/helpers/helper.php+82
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=ev-gold-preloader
- > Notice in wp-content/plugins/ev-gold-preloader/helpers/helper.php+104
Undefined index: lbl
- > GET request to /wp-admin/options-general.php?page=ev-gold-preloader
- > Notice in wp-content/plugins/ev-gold-preloader/helpers/helper.php+109
Undefined index: value
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: preloader plugin, free preloaders, best preloader, css preloader, nice preloader...
ev-gold-preloader/index.php 85% from 13 tests
This is the main PHP file of "Ev Gold Preloader" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ev-gold-preloader.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin798 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 117 | 55 | 459 |
JavaScript | 5 | 59 | 52 | 227 |
CSS | 1 | 24 | 4 | 99 |
HTML | 2 | 0 | 2 | 13 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin