Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Parse error in wp-content/plugins/ivan-gospodinow-cache/ivangospodinow-cache.php+121
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.57ms] Passed 4 tests
Analyzing server-side resources used by Ivan Gospodinow Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.04 ▼0.83 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.77 ▼4.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.87 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.83 ▼15.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.65 ▼1.69 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Ivan Gospodinow Cache
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.80 ▲0.24 | 1.79 ▼0.02 | 39.13 ▼3.06 |
Dashboard /wp-admin | 2,209 ▲21 | 4.88 ▲0.01 | 111.20 ▲9.35 | 38.91 ▼4.25 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.02 | 39.51 ▲3.61 | 36.25 ▲2.84 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.31 ▲0.01 | 641.69 ▼45.66 | 54.01 ▲6.53 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.03 | 94.17 ▼3.06 | 41.53 ▼6.08 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/ivan-gospodinow-cache/ivangospodinow-cache.php on line 121
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/ivan-gospodinow-cache/ivangospodinow-cacher.php on line 9
- > PHP Notice
Undefined index: script_runs in wp-content/plugins/ivan-gospodinow-cache/ivangospodinow-cacher.php on line 25
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: speed up, cache
ivan-gospodinow-cache/ivangospodinow-cache.php 85% from 13 tests
The entry point to "Ivan Gospodinow Cache" version 1.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The plugin description must be longer than 10 characters (currently 0 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ivan-gospodinow-cache.php" instead of "ivangospodinow-cache.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected387 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 68 | 21 | 376 |
XML | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected