Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/cache-manifest/cache_manifest_html5.php+143
Only variables should be passed by reference
Server metrics [RAM: ▼0.66MB] [CPU: ▼16.84ms] Passed 4 tests
An overview of server-side resources used by Cache Manifest
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.54 ▼1.52 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.28 ▲1.46 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.71 ▼6.23 |
Add New Post /wp-admin/post-new.php | 3.14 ▼2.75 | 34.29 ▼59.25 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.22 ▼0.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- You have illegally modified 2 files (13.53KB) outside of "wp-content/plugins/cache-manifest/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/manifest.html
- (new file) wp-content/themes/twentytwentyone/cache.manifest
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Cache Manifest
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.68 ▼0.83 | 8.39 ▲6.32 | 46.61 ▲1.61 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼0.02 | 102.40 ▼1.89 | 41.41 ▲2.10 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▲0.02 | 35.30 ▼6.48 | 32.73 ▼2.54 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.16 ▼0.11 | 614.40 ▼61.35 | 52.77 ▼12.91 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.24 ▲0.01 | 95.59 ▼2.81 | 42.49 ▼3.79 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cache-manifest/cache_manifest_html5.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (Fixing the hungarian letters with accents and symbols in the permalinks.)
- Requires at least: Invalid plugin version format
cache-manifest/cache_manifest_html5.php 92% from 13 tests
The main PHP script in "Cache Manifest" version 1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cache-manifest.php" instead of "cache_manifest_html5.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 19 | 20 | 121 |
JavaScript | 1 | 4 | 0 | 38 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin