Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼8.36ms] Passed 4 tests
This is a short check of server-side resources used by CDN Enabler
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 46.83 ▼3.49 |
Dashboard /wp-admin | 3.51 ▲0.20 | 60.18 ▼0.78 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 56.12 ▼8.89 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 101.86 ▼20.27 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 43.41 ▲1.69 |
CDN Enabler /wp-admin/options-general.php?page=cdn-enabler | 3.37 | 47.84 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
cdn_enabler |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by CDN Enabler
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.44 | 2.03 ▲0.03 | 40.98 ▼9.48 |
Dashboard /wp-admin | 2,199 ▲22 | 5.68 ▲0.01 | 101.56 ▼4.49 | 45.14 ▲1.75 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.02 | 47.35 ▲1.21 | 37.04 ▼10.97 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.40 ▼4.44 | 700.60 ▼3.24 | 72.75 ▲17.15 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.20 ▼0.03 | 119.05 ▲2.62 | 49.10 ▼1.68 |
CDN Enabler /wp-admin/options-general.php?page=cdn-enabler | 952 | 2.13 | 52.58 | 47.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/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
3 plugin tags: content distribution network, content delivery network, cdn
cdn-enabler/cdn-enabler.php Passed 13 tests
The entry point to "CDN Enabler" version 2.0.6 is a PHP file that has certain tags in its header comment area
76 characters long description:
Simple and fast WordPress content delivery network (CDN) integration plugin.
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
Everything looks great! No dangerous files found in this plugin720 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 309 | 485 | 708 |
CSS | 2 | 3 | 1 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 2 | 66.67% |
Methods | 45 | |
▷ Static methods | 42 | 93.33% |
▷ Public methods | 27 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 40.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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