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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.26ms] Passed 4 tests
Server-side resources used by Flytedesk Digital
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.82 ▼0.08 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.76 ▲1.16 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.51 ▼5.22 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.49 ▼11.53 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.88 ▼0.20 |
Flytedesk /wp-admin/options-general.php?page=flytedesk-digital-options | 3.22 | 30.11 |
Server storage [IO: ▲0.06MB] [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: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_flytedesk_ad_unit |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Flytedesk Digital
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 14.39 ▲0.15 | 2.59 ▲0.72 | 39.98 ▼9.23 |
Dashboard /wp-admin | 2,214 ▲29 | 5.84 ▼0.02 | 97.45 ▼1.29 | 39.09 ▼4.66 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.02 ▲0.01 | 37.63 ▼3.16 | 31.54 ▼3.85 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 22.80 ▲5.15 | 626.16 ▼58.67 | 58.39 ▲1.78 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.19 ▼0.01 | 98.59 ▼4.34 | 41.42 ▼3.15 |
Flytedesk /wp-admin/options-general.php?page=flytedesk-digital-options | 799 | 2.01 | 24.18 | 22.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_flytedesk_ad_unit
- can_compress_scripts
- db_upgraded
- 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 everything seems fine, this is not 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/flytedesk-digital/includes/class-flytedesk-digital-widget.php:28
- > 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
3 plugin tags: flytedesk, digital advertising, college publishers
flytedesk-digital/flytedesk-digital.php 92% from 13 tests
The principal PHP file in "Flytedesk Digital" v. 20181101... is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "20181101...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin361 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 128 | 502 | 283 |
CSS | 2 | 14 | 4 | 63 |
JavaScript | 2 | 2 | 27 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 26 | 78.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 21.21% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 9.79KB | 3.31KB | ▼ 66.23% |