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.26MB] [CPU: ▼7.59ms] Passed 4 tests
This is a short check of server-side resources used by CWD - Stealth Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.14 ▼1.33 | 5.54 ▼34.62 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.97 ▲1.60 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 52.88 ▲3.57 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 95.19 ▼0.90 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 42.05 ▲4.93 |
Stealth Links /wp-admin/admin.php?page=cwd_stealth_links | 3.28 | 33.41 |
Meus links /wp-admin/admin.php?page=cwd_stealth_links_mylinks | 3.28 | 31.37 |
Novo link /wp-admin/admin.php?page=cwd_stealth_links_new_link | 3.26 | 34.85 |
/wp-admin/admin.php?page=cwd_stealth_links_edit_link | 3.26 | 31.29 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_cwd_stealth_links |
New WordPress options |
---|
widget_recent-comments |
cwd_stealth_links |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CWD - Stealth Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲65 | 13.55 ▼1.10 | 2.17 ▲0.05 | 44.10 ▼3.56 |
Dashboard /wp-admin | 2,227 ▲39 | 4.96 ▲0.10 | 103.65 ▼3.34 | 87.78 ▲44.68 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.03 ▼0.01 | 40.82 ▲1.35 | 37.80 ▲2.14 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.33 ▲0.01 | 752.84 ▲41.67 | 41.31 ▼20.44 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.26 ▲0.02 | 97.82 ▼10.53 | 89.04 ▲42.01 |
Stealth Links /wp-admin/admin.php?page=cwd_stealth_links | 871 | 2.06 | 26.09 | 26.79 |
Meus links /wp-admin/admin.php?page=cwd_stealth_links_mylinks | 877 | 2.10 | 30.97 | 29.51 |
Novo link /wp-admin/admin.php?page=cwd_stealth_links_new_link | 875 | 2.09 | 33.70 | 32.78 |
/wp-admin/admin.php?page=cwd_stealth_links_edit_link | 876 | 2.07 | 25.86 | 24.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cwd_stealth_links_edit_link
- > Notice in wp-content/plugins/cwd-stealth-links/pages/cwd-stealth-links-edit-link.php+76
Undefined variable: url
- > GET request to /wp-admin/admin.php?page=cwd_stealth_links_new_link
- > Notice in wp-content/plugins/cwd-stealth-links/pages/cwd-stealth-links-new-link.php+64
Undefined variable: newurl
- > GET request to /wp-admin/admin.php?page=cwd_stealth_links_edit_link
- > Notice in wp-content/plugins/cwd-stealth-links/pages/cwd-stealth-links-edit-link.php+54
Trying to get property 'url' of non-object
- > GET request to /wp-admin/admin.php?page=cwd_stealth_links_edit_link
- > Notice in wp-content/plugins/cwd-stealth-links/pages/cwd-stealth-links-edit-link.php+65
Trying to get property 'newurl' of non-object
- > GET request to /wp-admin/admin.php?page=cwd_stealth_links_edit_link
- > Notice in wp-content/plugins/cwd-stealth-links/pages/cwd-stealth-links-edit-link.php+76
Trying to get property 'ID' of non-object
SRP 0% from 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/cwd-stealth-links/cwd-stealth-links.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/cwd-stealth-links/cwd-stealth-links-functions.php:58
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires php: Version format is invalid
cwd-stealth-links/cwd-stealth-links.php Passed 13 tests
Analyzing the main PHP file in "CWD - Stealth Links" version 1.3
41 characters long description:
Crie links customizados com seu domínio.
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
There were no executable files found in this plugin700 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 63 | 20 | 500 |
PO File | 2 | 46 | 66 | 127 |
CSS | 1 | 9 | 1 | 54 |
JavaScript | 2 | 0 | 12 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 0 | |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.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
2 PNG files occupy 0.09MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon/cwd_stealth_links.png | 37.87KB | 0.38KB | ▼ 98.99% |
icon/cwd_stealth_links_big.png | 49.32KB | 3.72KB | ▼ 92.45% |