Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼36.94ms] Passed 4 tests
A check of server-side resources used by NanoSupport — Support Ticketing & Knowledgebase for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.74 ▲1.28 | 66.14 ▲23.26 |
Dashboard /wp-admin | 4.19 ▲0.84 | 32.51 ▼41.17 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 32.15 ▼23.57 |
Add New Post /wp-admin/post-new.php | 4.19 ▼1.70 | 32.49 ▼78.02 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 34.91 ▼5.01 |
Knowledgebase /wp-admin/edit.php?post_type=nanodoc | 4.19 | 31.37 |
Add New /wp-admin/post-new.php?post_type=nanodoc | 4.19 | 29.38 |
NanoSupport /wp-admin/edit.php?post_type=nanosupport | 4.19 | 33.70 |
Departments /wp-admin/edit-tags.php?taxonomy=nanosupport_department&post_type=nanosupport | 4.19 | 30.71 |
System Status /wp-admin/edit.php?post_type=nanosupport&page=nanosupport-system-status | 4.19 | 31.37 |
Settings /wp-admin/edit.php?post_type=nanosupport&page=nanosupport-settings | 4.19 | 30.06 |
Categories /wp-admin/edit-tags.php?taxonomy=nanodoc_category&post_type=nanodoc | 4.19 | 30.42 |
Add New /wp-admin/post-new.php?post_type=nanosupport | 4.19 | 31.16 |
Server storage [IO: ▲1.10MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 72 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
nanosupport_version |
nanosupport_email_settings |
nanosupport_knowledgebase_settings |
nanosupport_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for NanoSupport — Support Ticketing & Knowledgebase for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,274 ▲528 | 14.59 ▲0.30 | 2.82 ▲1.16 | 28.78 ▼16.75 |
Dashboard /wp-admin | 2,674 ▲500 | 6.20 ▲0.64 | 124.87 ▲27.04 | 56.23 ▲14.08 |
Posts /wp-admin/edit.php | 2,174 ▲74 | 1.99 ▼0.01 | 35.52 ▼6.94 | 37.39 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,588 ▲57 | 23.21 ▲0.08 | 675.35 ▼39.40 | 51.63 ▼6.89 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.16 ▼0.09 | 98.62 ▼18.21 | 43.10 ▼6.04 |
Knowledgebase /wp-admin/edit.php?post_type=nanodoc | 1,161 | 2.38 | 43.06 | 28.79 |
Add New /wp-admin/post-new.php?post_type=nanodoc | 2,364 | 8.02 | 185.72 | 66.35 |
NanoSupport /wp-admin/edit.php?post_type=nanosupport | 1,292 | 2.54 | 38.32 | 31.64 |
Departments /wp-admin/edit-tags.php?taxonomy=nanosupport_department&post_type=nanosupport | 1,351 | 2.12 | 26.20 | 31.99 |
System Status /wp-admin/edit.php?post_type=nanosupport&page=nanosupport-system-status | 1,169 | 2.12 | 28.74 | 49.77 |
Settings /wp-admin/edit.php?post_type=nanosupport&page=nanosupport-settings | 1,455 | 2.29 | 38.63 | 59.97 |
Categories /wp-admin/edit-tags.php?taxonomy=nanodoc_category&post_type=nanodoc | 1,653 | 2.27 | 31.26 | 32.89 |
Add New /wp-admin/post-new.php?post_type=nanosupport | 2,762 | 8.38 | 173.72 | 66.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/nanosupport/includes/ns-functions.php+31
Trying to get property 'parent_base' of non-object
- Zombie WordPress options detected upon uninstall: 10 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- nanosupport_knowledgebase_settings
- nanosupport_version
- nanosupport_settings
- theysaidso_admin_options
- nanosupport_email_settings
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 40 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=nanosupport
- > Notice in wp-content/plugins/nanosupport/includes/ns-functions.php+31
Trying to get property 'parent_base' of non-object
SRP 50% 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
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nanosupport/templates/content-email.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nanosupport/includes/admin/__nanodesigns.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nanosupport/templates/content-single-ticket.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/nanosupport/includes/ns-dashboard.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
nanosupport/nanosupport.php 92% from 13 tests
Analyzing the main PHP file in "NanoSupport — Support Ticketing & Knowledgebase for WordPress" version 0.6.0
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 205 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected9,364 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,630 | 2,796 | 5,332 |
Sass | 15 | 731 | 146 | 3,095 |
CSS | 6 | 21 | 4 | 493 |
JavaScript | 13 | 72 | 175 | 305 |
SVG | 1 | 1 | 0 | 139 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 26.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 30 | |
▷ Static methods | 8 | 26.67% |
▷ Public methods | 28 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.67% |
Functions | 163 | |
▷ Named functions | 163 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/nskb-search-advertisement.png | 13.90KB | 13.79KB | ▼ 0.81% |