Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/country-caching-extension-for-wp-super-cache/inc/ccwpsc_settings_form.php+781
mkdir(): Invalid path
Server metrics [RAM: ▼1.67MB] [CPU: ▼54.83ms] Passed 4 tests
An overview of server-side resources used by Country Caching For WP Super Cache
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 41.50 ▼6.25 |
Dashboard /wp-admin | 2.54 ▼1.02 | 9.89 ▼49.94 |
Posts /wp-admin/edit.php | 2.55 ▼1.13 | 9.73 ▼51.26 |
Add New Post /wp-admin/post-new.php | 2.54 ▼3.60 | 9.21 ▼86.43 |
Media Library /wp-admin/upload.php | 2.55 ▼0.94 | 8.01 ▼31.68 |
Server storage [IO: ▲0.31MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
CCWPSC_VERSION |
theysaidso_admin_options |
ccwpsc_caching_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Country Caching For WP Super Cache
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.26 ▼0.13 | 1.86 ▲0.27 | 41.69 ▼4.42 |
Dashboard /wp-admin | 2,211 ▲31 | 5.65 ▲0.00 | 89.23 ▼2.30 | 37.85 ▼6.16 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.04 ▲0.07 | 39.97 ▼1.95 | 35.35 ▼5.76 |
Add New Post /wp-admin/post-new.php | 1,559 ▲14 | 23.12 ▼0.05 | 677.21 ▲21.99 | 52.27 ▲1.49 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.25 ▲0.04 | 99.43 ▼3.70 | 41.28 ▼6.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/country-caching-extension-for-wp-super-cache/inc/ccwpsc_settings_form.php+781
mkdir(): Invalid path
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Requires php: Version format is invalid
- Screenshots: Please add an image for screenshot #1 (Simple set up. Dashboard->WPSC Country Caching)
country-caching-extension-for-wp-super-cache/cc_wpsc_init.php 92% from 13 tests
The entry point to "Country Caching For WP Super Cache" version 0.8.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("country-caching-extension-for-wp-super-cache.php" instead of "cc_wpsc_init.php")
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
Success! There were no dangerous files found in this plugin2,573 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 275 | 259 | 1,617 |
Pascal | 4 | 145 | 4,698 | 919 |
CSS | 1 | 6 | 0 | 37 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 182.00 |
Average method complexity | 5.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 1 | 1.67% |
▷ Public methods | 32 | 53.33% |
▷ Protected methods | 6 | 10.00% |
▷ Private methods | 22 | 36.67% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 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
No PNG files were detected