Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.49ms] Passed 4 tests
An overview of server-side resources used by Speed Up - Browser Caching
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.91 ▼4.21 |
Dashboard /wp-admin | 3.33 ▼0.01 | 46.68 ▼13.93 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.33 ▲10.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 79.49 ▼20.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.00 ▲0.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- The plugin illegally modified 2 files (5.71KB) outside of "wp-content/plugins/speed-up-browser-caching/" and "wp-content/uploads/"
- (new file) speed-up-backup-2023-10-09_200433.htaccess
- (modified) .htaccess
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Speed Up - Browser Caching
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.79 ▲0.43 | 1.87 ▲0.04 | 42.72 ▼1.12 |
Dashboard /wp-admin | 2,203 ▲12 | 4.84 ▼0.01 | 112.86 ▼0.81 | 47.32 ▲4.80 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.14 ▲0.10 | 37.36 ▼2.85 | 32.44 ▼5.92 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.03 ▼0.14 | 650.41 ▼3.14 | 75.84 ▲26.39 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.26 ▲0.05 | 97.04 ▲0.84 | 41.55 ▲0.50 |
Uninstaller [IO: ▲0.01MB] [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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The SRP test was a success
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
speed-up-browser-caching/speed-up-browser-caching.php Passed 13 tests
The main PHP script in "Speed Up - Browser Caching" version 1.0.10 is automatically included on every request by WordPress
79 characters long description:
Help browser to cache a local copy of static files and improve page load times.
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
There were no executable files found in this plugin153 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 74 | 110 | 153 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 4.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 12 | |
▷ Static methods | 11 | 91.67% |
▷ Public methods | 5 | 41.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 58.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin