Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▲1.71ms] Passed 4 tests
An overview of server-side resources used by OS Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 39.38 ▼2.13 |
Dashboard /wp-admin | 3.60 ▲0.30 | 47.50 ▲2.12 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 50.81 ▲2.26 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.30 | 93.25 ▲7.51 |
Media Library /wp-admin/upload.php | 3.53 ▲0.30 | 37.10 ▲4.59 |
OS Integration /wp-admin/options-general.php?page=os-integration/os-integration.php | 3.54 | 41.37 |
Server storage [IO: ▲0.16MB] [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, 8 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_osintegration_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
osintegration_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OS Integration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.24 ▼1.16 | 4.89 ▲3.17 | 41.20 ▲2.24 |
Dashboard /wp-admin | 2,210 ▲22 | 4.83 ▼1.07 | 107.82 ▼4.35 | 42.56 ▼3.55 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 38.90 ▲3.39 | 35.83 ▲6.54 |
Add New Post /wp-admin/post-new.php | 1,550 ▲16 | 18.36 ▼4.77 | 596.38 ▼103.59 | 78.60 ▲26.60 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.21 ▲0.01 | 100.86 ▼0.57 | 45.21 ▼0.04 |
OS Integration /wp-admin/options-general.php?page=os-integration/os-integration.php | 2,670 | 4.15 | 80.32 | 82.14 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_osintegration_widget
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/os-integration/widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/os-integration/widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
os-integration/os-integration.php Passed 13 tests
Analyzing the main PHP file in "OS Integration" version 3.0
102 characters long description:
Integrate your site in to your users OS, Windows Live Tiles, icons for Apple and Android, iOS Web App!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,932 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 320 | 248 | 1,519 |
CSS | 2 | 17 | 25 | 296 |
Markdown | 1 | 34 | 0 | 60 |
JavaScript | 1 | 12 | 15 | 57 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fdroid.png | 3.87KB | 2.39KB | ▼ 38.10% |
images/microsoft.png | 0.25KB | 0.14KB | ▼ 42.97% |
images/play.png | 3.50KB | 2.20KB | ▼ 37.10% |
images/itunes.png | 4.36KB | 2.62KB | ▼ 39.89% |
images/wordpress-logo.png | 4.21KB | 1.88KB | ▼ 55.20% |