Benchmarks
Plugin footprint 65% 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: ▼0.10MB] [CPU: ▼3.83ms] Passed 4 tests
This is a short check of server-side resources used by Preloader Quotes
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▼0.57 | 23.16 ▼19.30 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.87 ▼2.40 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 54.34 ▲0.34 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 104.08 ▲10.17 |
Media Library /wp-admin/upload.php | 3.29 ▲0.05 | 40.61 ▲6.03 |
Preloader Quotes /wp-admin/admin.php?page=preloader-quotes | 3.26 | 33.57 |
Mapping /wp-admin/admin.php?page=preloader-quotes-mapping | 3.30 | 38.17 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Just a few items left to fix
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/preloader-quotes/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 8 new files
Database: 2 new tables, 6 new options
New tables |
---|
preloader_quotes |
preloader_quotes_mapping |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Preloader Quotes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲208 | 13.64 ▼0.73 | 7.12 ▲5.50 | 42.79 ▼2.18 |
Dashboard /wp-admin | 2,248 ▲51 | 4.88 ▼0.95 | 107.32 ▲2.75 | 42.64 ▲4.13 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▲0.01 | 38.80 ▼1.20 | 35.75 ▲0.04 |
Add New Post /wp-admin/post-new.php | 1,567 ▲17 | 22.73 ▼0.40 | 640.42 ▼4.93 | 48.53 ▲4.87 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.21 ▼0.01 | 94.98 ▼5.86 | 40.79 ▼3.08 |
Preloader Quotes /wp-admin/admin.php?page=preloader-quotes | 930 | 2.14 | 23.07 | 64.88 |
Mapping /wp-admin/admin.php?page=preloader-quotes-mapping | 961 | 1.98 | 30.67 | 34.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 2 tables
- preloader_quotes_mapping
- preloader_quotes
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=preloader-quotes
- > Notice in wp-content/plugins/preloader-quotes/quotes.php+72
Undefined index: quote_id
- > GET request to /wp-admin/admin.php?page=preloader-quotes-mapping
- > Notice in wp-content/plugins/preloader-quotes/mapping.php+85
Undefined variable: page_idsA
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=preloader-quotes-mapping
- > Warning in wp-content/plugins/preloader-quotes/mapping.php+100
in_array() expects parameter 2 to be array, null given
- > GET request to /wp-admin/admin.php?page=preloader-quotes-mapping
- > Notice in wp-content/plugins/preloader-quotes/mapping.php+100
Undefined variable: post_idsA
- > GET request to /wp-admin/admin.php?page=preloader-quotes-mapping
- > Notice in wp-content/plugins/preloader-quotes/mapping.php+133
Undefined variable: random_quotes
- > GET request to /wp-admin/admin.php?page=preloader-quotes-mapping
- > Notice in wp-content/plugins/preloader-quotes/mapping.php+137
Undefined variable: mapping_id
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
No plugin tags provided
preloader-quotes/init.php 92% from 13 tests
The entry point to "Preloader Quotes" version 1.0.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("preloader-quotes.php" instead of "init.php")
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
Good job! No executable or dangerous file extensions detected1,825 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 43 | 54 | 1,271 |
PHP | 3 | 143 | 15 | 532 |
JavaScript | 1 | 9 | 5 | 22 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin