Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.05ms] Passed 4 tests
This is a short check of server-side resources used by Jeba WP Preloader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 27.07 ▼13.28 |
Dashboard /wp-admin | 3.37 ▲0.06 | 46.71 ▼1.87 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 45.31 ▼2.33 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 96.26 ▲2.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.90 ▼2.70 |
Preloader Settings /wp-admin/options-general.php?page=preloader-settings | 3.26 | 29.09 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Jeba WP Preloader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,033 ▲287 | 13.81 ▼0.62 | 12.04 ▲10.30 | 40.39 ▼3.01 |
Dashboard /wp-admin | 2,231 ▲49 | 5.09 ▼0.77 | 98.11 ▼6.47 | 37.99 ▼1.37 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.32 ▲0.28 | 35.42 ▼8.25 | 32.58 ▼3.18 |
Add New Post /wp-admin/post-new.php | 1,542 ▲11 | 18.41 ▼4.92 | 614.56 ▲25.51 | 34.55 ▼14.91 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.35 ▲0.15 | 105.63 ▲7.02 | 50.39 ▲6.90 |
Preloader Settings /wp-admin/options-general.php?page=preloader-settings | 1,216 | 2.34 | 48.08 | 72.71 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jeba-wp-preloader/main-functions.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Installed in demo server.), #2 (Another demo.)
- Contributors: The plugin contributors field is not present
jeba-wp-preloader/main-functions.php 92% from 13 tests
The main PHP file in "Jeba WP Preloader" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("jeba-wp-preloader.php" instead of "main-functions.php")
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
Everything looks great! No dangerous files found in this plugin652 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 103 | 23 | 473 |
CSS | 3 | 35 | 6 | 167 |
JavaScript | 2 | 6 | 1 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
28 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/img/preloader4.png | 1.52KB | 0.92KB | ▼ 39.28% |
css/img/preloader14.png | 1.39KB | 0.38KB | ▼ 72.89% |
css/img/preloader17.png | 1.60KB | 0.52KB | ▼ 67.52% |
css/img/preloader7.png | 1.72KB | 0.77KB | ▼ 55.23% |
css/img/preloader22.png | 2.97KB | 1.54KB | ▼ 47.96% |