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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼6.07ms] Passed 4 tests
A check of server-side resources used by Source Global CDN
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.86 ▼2.33 |
Dashboard /wp-admin | 3.47 ▲0.16 | 45.16 ▼3.06 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 47.93 ▲0.25 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 77.91 ▼19.12 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 35.07 ▲2.17 |
About /wp-admin/admin.php?page=sourcegcdn-about | 3.32 | 33.92 |
Source GCDN /wp-admin/admin.php?page=sourcegcdn | 3.32 | 32.77 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
source_admin |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
sdn_gravatar |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Source Global CDN
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,623 ▼112 | 3.55 ▼10.86 | 1.35 ▼0.36 | 40.37 ▼3.84 |
Dashboard /wp-admin | 2,118 ▼70 | 1.63 ▼3.39 | 19.29 ▼94.73 | 34.89 ▼6.12 |
Posts /wp-admin/edit.php | 2,053 ▼33 | 1.40 ▼0.59 | 9.47 ▼26.54 | 32.16 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,214 ▼300 | 2.10 ▼15.44 | 35.88 ▼650.28 | 5.96 ▼53.30 |
Media Library /wp-admin/upload.php | 1,008 ▼377 | 2.04 ▼2.25 | 22.39 ▼92.03 | 26.16 ▼27.62 |
About /wp-admin/admin.php?page=sourcegcdn-about | 799 | 1.40 | 8.83 | 26.90 |
Source GCDN /wp-admin/admin.php?page=sourcegcdn | 856 | 1.58 | 8.46 | 35.07 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- 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
Even though everything seems fine, this is not 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://avatar.sourcegcdn.com/avatar/dda8de772f53e64b26129d7f632ad1a3?s=26&d=mm&r=g - Failed to load resource: the server responded with a status of 404 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-includes/js/dist/i18n.min.js?ver=7701b0c3857f914212ef - Failed to load resource: the server responded with a status of 521 ()
- > GET request to /wp-admin/admin.php?page=sourcegcdn-about
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=sourcegcdn-about 181:8 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-includes/js/hoverintent-js.min.js?ver=2.2.1 - Failed to load resource: the server responded with a status of 521 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-includes/js/admin-bar.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 521 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-includes/js/heartbeat.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 521 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-admin/js/common.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 521 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-includes/js/wp-auth-check.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 521 ()
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Network (severe)
https://wp.sourcegcdn.com/core/6.3.1/wp-admin/js/svg-painter.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 521 ()
- > GET request to /wp-admin/admin.php?page=sourcegcdn
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=sourcegcdn 198:8 Uncaught TypeError: Cannot read properties of undefined (reading 'setLocaleData')
Optimizations
Plugin configuration 96% from 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
2 plugin tags: cdn, accelerate
source-global-cdn/source-global-cdn.php 92% from 13 tests
The entry point to "Source Global CDN" version 2.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin467 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 65 | 232 |
PO File | 2 | 42 | 52 | 232 |
Markdown | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu-icon.png | 3.77KB | 0.58KB | ▼ 84.53% |