Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.11ms] Passed 4 tests
Analyzing server-side resources used by WPSite Shortcode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.74 ▼3.91 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.64 ▼2.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.14 ▼3.44 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.73 ▼9.89 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.96 ▼3.21 |
Site Shortcode /wp-admin/tools.php?page=wpsite-shortcode-settings | 3.31 | 34.10 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WPSite Shortcode
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.72 ▲0.37 | 1.78 ▲0.03 | 44.57 ▼9.43 |
Dashboard /wp-admin | 2,203 ▲23 | 5.63 ▲0.02 | 95.80 ▲6.66 | 41.45 ▲1.22 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▼0.04 | 40.04 ▼1.65 | 36.19 ▼2.86 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.07 ▲0.08 | 682.29 ▼4.88 | 64.89 ▲9.06 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.18 ▼0.03 | 102.27 ▼4.92 | 47.16 ▲1.69 |
Site Shortcode /wp-admin/tools.php?page=wpsite-shortcode-settings | 1,211 | 1.99 | 23.96 | 31.40 |
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_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: seo, dynamic data, shortcode, metadata
wpsite-shortcode/wpsite-shortcode.php Passed 13 tests
"WPSite Shortcode" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
118 characters long description:
A collection of metadata shortcodes for easy use of WordPress sites,It can also usually be used as a wildcard for SEO.
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
Everything looks great! No dangerous files found in this plugin1,276 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 246 | 83 | 805 |
PO File | 2 | 166 | 170 | 408 |
CSS | 1 | 13 | 29 | 63 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 55 | |
▷ Named functions | 55 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin