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.03MB] [CPU: ▼4.81ms] Passed 4 tests
A check of server-side resources used by Tripadvisor Stream
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.39 ▼2.61 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.04 ▼9.56 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.37 ▲3.44 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.24 ▼9.80 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.01 ▲2.74 |
Tripadvisor Stream /wp-admin/options-general.php?page=tripadvisorsc | 3.22 | 39.01 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tripadvisor Stream
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.72 ▼0.65 | 7.74 ▲5.91 | 36.34 ▼9.14 |
Dashboard /wp-admin | 2,213 ▲25 | 5.91 ▲0.00 | 103.82 ▼16.33 | 38.74 ▼5.78 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.01 | 36.42 ▼2.59 | 33.76 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.02 ▲4.96 | 642.79 ▼3.91 | 55.70 ▼3.57 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.20 ▲0.01 | 96.56 ▼0.36 | 42.29 ▲0.12 |
Tripadvisor Stream /wp-admin/options-general.php?page=tripadvisorsc | 884 | 2.21 | 23.23 | 27.13 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- 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
Even though no errors were found, 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tripadvisor-stream/tripadvisor-stream.php:199
- > 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 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 need to be fixed:
- Contributors: Contributors not specified
tripadvisor-stream/tripadvisor-stream.php 92% from 13 tests
Analyzing the main PHP file in "Tripadvisor Stream" version 0.1
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin282 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 52 | 31 | 122 |
JavaScript | 1 | 23 | 11 | 115 |
CSS | 1 | 8 | 0 | 45 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/social_icon_ta.png | 1.47KB | 0.88KB | ▼ 40.33% |
img/loading.png | 0.92KB | 1.40KB | 0.00% |
screenshot.png | 113.99KB | 35.39KB | ▼ 68.95% |