Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.62MB] [CPU: ▼18.50ms] Passed 4 tests
Analyzing server-side resources used by PageLoader Lite - Loading Screen
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.16 ▼4.48 |
Dashboard /wp-admin | 3.37 ▲0.07 | 41.93 ▼4.00 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.15 ▼1.60 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 31.61 ▼63.92 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 41.77 ▲7.98 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for PageLoader Lite - Loading Screen
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.25 ▼1.15 | 2.46 ▲0.38 | 69.17 ▲26.09 |
Dashboard /wp-admin | 2,206 ▲18 | 4.81 ▼1.06 | 111.73 ▲10.19 | 42.93 ▲0.93 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.00 | 37.82 ▼6.91 | 34.88 ▼3.58 |
Add New Post /wp-admin/post-new.php | 6,237 ▲4,723 | 26.21 ▲8.71 | 890.50 ▲245.64 | 67.88 ▲10.02 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.31 ▲0.13 | 99.71 ▲1.38 | 43.66 ▲0.95 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/pageloader-lite/custom_controls.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pageloader-lite/pageloader-lite.php:218
- > PHP Fatal error
Uncaught Error: Call to undefined function is_singular() in wp-content/plugins/pageloader-lite/include.php:2
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: preloader, loading screen, loader, icon loader, spinner
pageloader-lite/pageloader-lite.php Passed 13 tests
"PageLoader Lite - Loading Screen" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
Loading Screen for WordPress. Customize under Appearance → Customize → PageLoader Lite
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin652 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 76 | 523 |
CSS | 2 | 12 | 35 | 129 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
1 compressed PNG file occupies 0.03MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pageloader-lite-gopro.png | 25.63KB | 25.66KB | 0.00% |