Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼301.62ms] Passed 4 tests
This is a short check of server-side resources used by WP Fragment Cache
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.04 | 91.73 ▲36.90 |
Dashboard /wp-admin | 4.10 ▲0.07 | 37.52 ▼50.37 |
Posts /wp-admin/edit.php | 4.38 ▲0.06 | 41.24 ▼4.88 |
Add New Post /wp-admin/post-new.php | 7.62 ▲0.03 | 99.75 ▼1,157.50 |
Media Library /wp-admin/upload.php | 4.04 ▲0.06 | 33.12 ▲6.26 |
WP Fragment Cache /wp-admin/options-general.php?page=wp-fragment-cache | 4.01 | 26.73 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Fragment Cache
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲84 | 15.29 ▼0.25 | 7.58 ▲1.90 | 2.44 ▲0.46 |
Dashboard /wp-admin | 2,915 ▲54 | 6.10 ▲0.00 | 123.74 ▼14.40 | 174.33 ▲7.63 |
Posts /wp-admin/edit.php | 2,709 ▲24 | 3.24 ▲0.00 | 64.98 ▼25.25 | 146.13 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,765 ▲104 | 21.04 ▲3.87 | 470.25 ▲69.03 | 177.99 ▲14.24 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 5.61 ▲0.08 | 161.63 ▲13.92 | 216.03 ▼35.84 |
WP Fragment Cache /wp-admin/options-general.php?page=wp-fragment-cache | 1,106 | 2.39 | 59.24 | 120.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wp-fragment-cache/admin/views/admin.php:18
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: performance, caching, fragment cache, cache, output caching...
wp-fragment-cache/wp-fragment-cache.php Passed 13 tests
The entry point to "WP Fragment Cache" version 1.0.4 is a PHP file that has certain tags in its header comment area
65 characters long description:
Boost your page performance by caching individual page fragments.
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
Good job! No executable or dangerous file extensions detected377 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 125 | 361 | 377 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 25 | |
▷ Static methods | 10 | 40.00% |
▷ Public methods | 17 | 68.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 32.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin