Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.66ms] Passed 4 tests
This is a short check of server-side resources used by Content No Cache: prevent specific content from being cached
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.23 ▼4.20 |
Dashboard /wp-admin | 3.33 ▲0.03 | 55.47 ▲6.65 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.94 ▼3.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.85 ▼8.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.24 ▼2.20 |
Content No Cache /wp-admin/edit.php?post_type=eos_dyn_content | 3.30 | 35.32 |
Add New /wp-admin/post-new.php?post_type=eos_dyn_content | 3.38 | 45.85 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Content No Cache: prevent specific content from being cached: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲83 | 14.25 ▼0.11 | 2.00 ▲0.15 | 42.75 ▲0.42 |
Dashboard /wp-admin | 2,222 ▲42 | 5.62 ▼0.05 | 90.80 ▼5.68 | 38.65 ▼2.19 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.97 ▲0.03 | 34.60 ▼3.88 | 33.44 ▼5.09 |
Add New Post /wp-admin/post-new.php | 1,551 ▲25 | 23.32 ▲0.04 | 643.93 ▼27.48 | 56.29 ▲4.01 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.19 ▼0.01 | 98.26 ▼1.65 | 41.34 ▼3.88 |
Content No Cache /wp-admin/edit.php?post_type=eos_dyn_content | 1,096 | 1.97 | 30.16 | 31.41 |
Add New /wp-admin/post-new.php?post_type=eos_dyn_content | 2,181 | 7.68 | 171.56 | 70.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: issues, cache, dynamic content
content-no-cache/content-no-cache.php Passed 13 tests
This is the main PHP file of "Content No Cache: prevent specific content from being cached" version 0.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
47 characters long description:
Prevent page cache from loading dynamic content
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
No dangerous file extensions were detected253 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 18 | 28 | 253 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
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 | 15 | |
▷ Named functions | 9 | 60.00% |
▷ Anonymous functions | 6 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin