Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲27.85ms] Passed 4 tests
Analyzing server-side resources used by NGT jsDelivr CDN
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 209.76 ▲173.50 |
Dashboard /wp-admin | 3.35 ▲0.04 | 45.05 ▼2.72 |
Posts /wp-admin/edit.php | 3.25 ▼0.11 | 33.73 ▼17.10 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 159.22 ▲62.09 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 103.76 ▲69.13 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
NGT jsDelivr CDN: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲19 | 13.22 ▼1.16 | 1.83 ▲0.10 | 42.74 ▲1.65 |
Dashboard /wp-admin | 2,209 ▲24 | 5.84 ▲0.93 | 94.01 ▼22.42 | 39.26 ▼2.25 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 40.71 ▼2.86 | 35.38 ▼0.23 |
Add New Post /wp-admin/post-new.php | 1,542 ▲7 | 18.27 ▼5.23 | 630.50 ▼45.78 | 55.64 ▲7.22 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.01 | 95.10 ▼3.50 | 42.06 ▼0.21 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Nextgenthemes\\JSdelivrThis\\add_filter() in wp-content/plugins/nextgenthemes-jsdelivr-this/nextgenthemes-jsdelivr-this.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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
7 plugin tags: performance, minimalistic, cdn, minimal, js...
nextgenthemes-jsdelivr-this/nextgenthemes-jsdelivr-this.php 77% from 13 tests
The primary PHP file in "NGT jsDelivr CDN" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("Optional. Only useful if the translations are located in a")
- Domain Path: The domain path must begin with a forward slash character ("/Optional. Only useful if the translations are located in a")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin160 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 86 | 140 |
JSON | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 1 | |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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 images were found in this plugin