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
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/dexecure/src/rewriter.php+34
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.85MB] [CPU: ▼61.35ms] Passed 4 tests
Analyzing server-side resources used by Dexecure
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 5.08 ▼37.33 |
Dashboard /wp-admin | 2.17 ▼1.18 | 6.82 ▼58.43 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.84 ▼44.97 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 7.02 ▼104.66 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.93 ▼29.72 |
Dexecure /wp-admin/options-general.php?page=dexecure | 2.17 | 6.13 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
dex_cdn_options |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Dexecure
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.33 ▼1.05 | 1.63 ▼0.15 | 40.91 ▼1.14 |
Dashboard /wp-admin | 2,228 ▲31 | 5.88 ▲0.80 | 99.82 ▼3.70 | 40.02 ▼5.44 |
Posts /wp-admin/edit.php | 2,101 ▲4 | 2.02 ▲0.00 | 33.86 ▼4.68 | 35.51 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,548 ▲22 | 23.38 ▲5.68 | 646.91 ▼73.08 | 50.20 ▲1.03 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▼0.03 | 95.74 ▼15.05 | 44.13 ▼3.60 |
Dexecure /wp-admin/options-general.php?page=dexecure | 873 | 2.05 | 24.13 | 35.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dexecure
- > Notice in wp-content/plugins/dexecure/src/rewriter.php+141
Undefined index: cdn_url
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dexecure
- > Notice in wp-content/plugins/dexecure/src/rewriter.php+142
Undefined index: excludes
SRP Passed 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
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 shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Contributors: Plugin contributors field is missing
dexecure/cdn-loader.php 92% from 13 tests
The primary PHP file in "Dexecure" version 1.1 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dexecure.php" instead of "cdn-loader.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected265 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 115 | 93 | 265 |
PHP code Passed 2 tests
This is a short overview 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.42 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin