Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/wp-hash-filename/wp-faster.php+792
Undefined variable: wp_faster_options
Server metrics [RAM: ▼1.65MB] [CPU: ▼58.20ms] Passed 4 tests
Analyzing server-side resources used by WP Faster
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.35 ▼1.12 | 5.20 ▼37.73 |
Dashboard /wp-admin | 2.37 ▼0.94 | 5.91 ▼48.19 |
Posts /wp-admin/edit.php | 2.37 ▼0.99 | 6.12 ▼46.41 |
Add New Post /wp-admin/post-new.php | 2.37 ▼3.52 | 6.30 ▼100.46 |
Media Library /wp-admin/upload.php | 2.37 ▼0.87 | 8.48 ▼29.39 |
Add New /wp-admin/link-add.php | 2.37 | 6.12 |
All Links /wp-admin/link-manager.php | 2.38 | 6.74 |
WP Faster /wp-admin/options-general.php?page=wp-faster | 2.37 | 8.01 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 2.37 | 6.47 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_links |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Faster: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,492 ▼269 | 14.27 ▼0.08 | 0.97 ▼0.66 | 40.52 ▼2.84 |
Dashboard /wp-admin | 2,073 ▼104 | 5.52 ▼0.08 | 83.10 ▼6.62 | 37.85 ▼4.57 |
Posts /wp-admin/edit.php | 1,990 ▼110 | 2.02 ▲0.05 | 39.81 ▲2.95 | 31.24 ▼2.58 |
Add New Post /wp-admin/post-new.php | 2,939 ▲1,411 | 7.55 ▼15.58 | 199.59 ▼496.99 | 82.80 ▲26.57 |
Media Library /wp-admin/upload.php | 1,331 ▼72 | 4.20 ▼0.01 | 97.17 ▼22.79 | 39.95 ▼9.44 |
Add New /wp-admin/link-add.php | 1,572 | 2.55 | 53.71 | 31.27 |
All Links /wp-admin/link-manager.php | 990 | 2.02 | 25.08 | 37.57 |
WP Faster /wp-admin/options-general.php?page=wp-faster | 949 | 2.12 | 22.90 | 56.36 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,229 | 2.11 | 26.16 | 26.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-hash-filename/wp-faster.php+792
Undefined variable: wp_faster_options
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_links
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 140 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Notice in wp-content/plugins/wp-hash-filename/wp-faster.php+1110
Undefined variable: wp_faster_options
- 140 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Notice in wp-content/plugins/wp-hash-filename/wp-faster.php+1110
Trying to access array offset on value of type null
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > User notice in wp-includes/functions.php+5905
Function wp_deregister_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wp-block-library handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 8 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Deprecated in wp-content/plugins/wp-hash-filename/wp-faster.php+1113
Function create_function() is deprecated
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
There were not plugin tags detected
wp-hash-filename/wp-faster.php 77% from 13 tests
The main PHP script in "WP Faster" version 1.2 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-hash-filename.php" instead of "wp-faster.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path folder was not found ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected883 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 172 | 61 | 883 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 106.00 |
▷ Minimum class complexity | 106.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.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 | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 13 | 68.42% |
▷ Anonymous functions | 6 | 31.58% |
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
No PNG files were detected