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: ▼3.83ms] Passed 4 tests
An overview of server-side resources used by WP Fragment Cache
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 46.56 ▲4.43 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.17 ▼5.51 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 49.64 ▼3.69 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.01 ▼6.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.60 ▲0.44 |
WP Fragment Cache /wp-admin/options-general.php?page=wp-fragment-cache | 3.26 | 29.68 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_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 / | 2,815 ▲44 | 13.21 ▼1.55 | 1.87 ▼0.14 | 38.91 ▼5.12 |
Dashboard /wp-admin | 2,221 ▲33 | 5.90 ▼0.00 | 107.65 ▲6.37 | 41.64 ▼10.91 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.02 ▲0.03 | 38.42 ▼3.00 | 36.36 ▲2.47 |
Add New Post /wp-admin/post-new.php | 1,561 ▲19 | 18.38 ▲0.11 | 611.61 ▼6.96 | 62.38 ▲1.94 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.25 ▲0.03 | 99.39 ▲0.56 | 44.47 ▼1.28 |
WP Fragment Cache /wp-admin/options-general.php?page=wp-fragment-cache | 838 | 2.04 | 25.69 | 26.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: cache, fragment cache, performance, caching, cache block...
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 | A short check of programming languages and file extensions; no executable files are allowed
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
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
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