Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/asset-finder/asset-finder.php+38
require_once(wp-content/plugins/asset-finder/classes/Requirements.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.93ms] Passed 4 tests
An overview of server-side resources used by Asset Finder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.53 ▼0.10 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.68 ▼1.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.18 ▼6.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.21 ▼0.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.78 ▲0.97 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Asset Finder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 14.42 ▲0.02 | 1.88 ▼0.06 | 42.82 ▲0.70 |
Dashboard /wp-admin | 2,203 ▲12 | 5.89 ▼0.01 | 109.46 ▼7.46 | 44.62 ▲0.08 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.07 | 37.61 ▼3.88 | 30.52 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.09 ▼0.02 | 627.74 ▼69.27 | 58.15 ▲4.99 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.00 | 98.17 ▼5.10 | 44.37 ▲0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function AssetFinder\\add_action() in wp-content/plugins/asset-finder/classes/DisplayWeb.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function AssetFinder\\add_action() in wp-content/plugins/asset-finder/classes/AssetCollector.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function AssetFinder\\add_action() in wp-content/plugins/asset-finder/classes/Settings.php:19
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
- Plugin Name: Please specify the plugin name on the first line (
=== asset-finder ===
)
asset-finder/asset-finder.php 92% from 13 tests
The main file in "Asset Finder" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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 detected389 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 42 | 79 | 263 |
JavaScript | 3 | 6 | 7 | 101 |
CSS | 1 | 0 | 0 | 18 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 53.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 46.43% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin