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.01MB] [CPU: ▼2.47ms] Passed 4 tests
This is a short check of server-side resources used by DesktopServer for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.35 ▼2.30 |
Dashboard /wp-admin | 3.32 ▲0.01 | 51.77 ▼1.01 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.29 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.39 ▼8.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.78 ▲2.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for DesktopServer for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.39 ▼1.20 | 4.14 ▲2.51 | 38.37 ▼5.89 |
Dashboard /wp-admin | 2,203 ▲15 | 4.88 ▼0.05 | 97.27 ▼6.43 | 43.51 ▲3.30 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.03 ▼0.10 | 36.38 ▲2.82 | 31.62 ▼2.07 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.76 ▼5.10 | 656.65 ▲0.12 | 61.94 ▼4.96 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.06 | 93.79 ▼8.30 | 40.20 ▼5.76 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/desktopserver/desktopserver.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: desktopserver, copy, hosting, localhost, publish...
desktopserver/desktopserver.php 92% from 13 tests
Analyzing the main PHP file in "DesktopServer for WordPress" version 1.6.2
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 333 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin778 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 138 | 303 | 778 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 94.50 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 7.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 11 | 39.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 60.71% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.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