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.06MB] [CPU: ▼10.42ms] Passed 4 tests
A check of server-side resources used by WP Featherlight Disabled
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.28 ▲2.66 |
Dashboard /wp-admin | 3.37 ▲0.03 | 47.57 ▼16.43 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.11 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 79.21 ▼27.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.81 ▲1.95 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
featherlight_plugin_db_updated |
Browser metrics Passed 4 tests
Checking browser requirements for WP Featherlight Disabled
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.33 ▼1.05 | 1.69 ▼0.20 | 47.11 ▲4.14 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.02 | 100.50 ▼11.82 | 39.29 ▼7.09 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.04 | 40.46 ▲2.49 | 35.79 ▲2.54 |
Add New Post /wp-admin/post-new.php | 6,237 ▲4,717 | 21.68 ▼1.65 | 897.29 ▲263.34 | 52.03 ▲1.53 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.21 ▲0.01 | 98.35 ▲0.32 | 43.67 ▲2.25 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- featherlight_plugin_db_updated
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/wp-featherlight-disabled/admin/views/meta-box.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_featherlight() in wp-content/plugins/wp-featherlight-disabled/includes/constants.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 26 tag instead of maximum 10
wp-featherlight-disabled/wp-featherlight.php 85% from 13 tests
The principal PHP file in "WP Featherlight Disabled" v. 1.0.2 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-featherlight-disabled.php" instead of "wp-featherlight.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,418 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 10 | 239 | 358 | 1,495 |
CSS | 4 | 12 | 28 | 476 |
PHP | 7 | 102 | 559 | 340 |
Markdown | 2 | 55 | 0 | 107 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 9.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 71.79% |
▷ Protected methods | 11 | 28.21% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.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