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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.21ms] Passed 4 tests
An overview of server-side resources used by WP Fakeloader
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.54 ▲4.18 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.22 ▼4.49 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 45.99 ▲0.19 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.72 ▼10.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.30 ▼1.86 |
WP Fakeloader /wp-admin/options-general.php?page=wp-fakeloader-settings | 3.26 | 34.57 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Fakeloader
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲201 | 13.88 ▼0.68 | 7.84 ▲6.16 | 45.90 ▲0.91 |
Dashboard /wp-admin | 2,232 ▲41 | 5.13 ▲0.22 | 100.90 ▼1.66 | 36.01 ▼7.01 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.30 ▲0.31 | 36.90 ▼3.43 | 32.51 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,543 ▲23 | 18.30 ▼4.72 | 621.33 ▼42.42 | 33.75 ▼22.81 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.45 ▲0.33 | 95.06 ▼22.10 | 41.95 ▼9.45 |
WP Fakeloader /wp-admin/options-general.php?page=wp-fakeloader-settings | 1,100 | 2.39 | 41.25 | 47.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-fakeloader/admin/classes/wp-fakeloader-admin.php
- > /wp-content/plugins/wp-fakeloader/site/classes/wp-fakeloader.php
- > /wp-content/plugins/wp-fakeloader/wp-fakeloader.php
- > /wp-content/plugins/wp-fakeloader/templates/shortcode-fakeloader-content.php
- > /wp-content/plugins/wp-fakeloader/admin/index.php
- > /wp-content/plugins/wp-fakeloader/site/index.php
- > /wp-content/plugins/wp-fakeloader/index.php
- > /wp-content/plugins/wp-fakeloader/templates/admin-wp-fakeloader-settings.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
wp-fakeloader/wp-fakeloader.php 92% from 13 tests
The entry point to "WP Fakeloader" version 1.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 209 characters long)
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
No dangerous file extensions were detected632 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 60 | 1 | 317 |
PHP | 8 | 214 | 69 | 267 |
Markdown | 1 | 17 | 0 | 30 |
JavaScript | 3 | 11 | 2 | 18 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 2 | 14.29% |
▷ Public methods | 12 | 85.71% |
▷ Protected methods | 2 | 14.29% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 35.82KB | 14.94KB | ▼ 58.29% |
screenshot-1.png | 1.91KB | 0.35KB | ▼ 81.89% |
screenshot-3.png | 24.15KB | 12.66KB | ▼ 47.57% |
screenshot-2.png | 6.03KB | 3.96KB | ▼ 34.29% |