Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.42ms] Passed 4 tests
A check of server-side resources used by WP Plugin Showroom
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.10 | 38.80 ▼1.22 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.35 ▼5.83 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 49.19 ▲5.22 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 83.03 ▼0.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.19 ▲1.82 |
WP Plugin Options /wp-admin/options-general.php?page=plgshow | 3.27 | 31.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
plgshow_plugin_version |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Plugin Showroom
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,173 ▲438 | 26.02 ▲12.03 | 44.51 ▲42.64 | 39.55 ▼2.34 |
Dashboard /wp-admin | 2,295 ▲104 | 11.65 ▲5.77 | 138.06 ▲35.49 | 41.64 ▲2.25 |
Posts /wp-admin/edit.php | 2,152 ▲66 | 10.26 ▲8.24 | 71.28 ▲37.11 | 29.45 ▼4.32 |
Add New Post /wp-admin/post-new.php | 6,243 ▲4,723 | 19.48 ▼3.59 | 756.27 ▲79.84 | 38.96 ▼19.34 |
Media Library /wp-admin/upload.php | 1,495 ▲107 | 10.84 ▲6.62 | 127.42 ▲22.66 | 59.60 ▲14.41 |
WP Plugin Options /wp-admin/options-general.php?page=plgshow | 944 | 9.80 | 78.60 | 42.48 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-plugin-showroom/wp-plugin-showroom.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-plugin-showroom/inc/plgshow-init.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-plugin-showroom/inc/plgshow-admin.php:36
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-plugin-showroom/inc/plgshow-user.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-plugin-showroom/inc/plgshow-setting.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-plugin-showroom/inc/plgshow-shortcode.php:25
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: site, plugin, wp, showroom, shortcode...
wp-plugin-showroom/wp-plugin-showroom.php 92% from 13 tests
"WP Plugin Showroom" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin658 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 75 | 258 | 339 |
CSS | 3 | 1 | 4 | 183 |
PO File | 1 | 29 | 12 | 72 |
JavaScript | 2 | 6 | 0 | 64 |
PHP code Passed 2 tests
A short 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.28 |
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 | 17 | |
▷ Named functions | 17 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin