Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▲9.98ms] Passed 4 tests
Analyzing server-side resources used by WebSync TikTok Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 57.85 ▲19.58 |
Dashboard /wp-admin | 3.38 ▲0.07 | 62.20 ▲16.86 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 53.41 ▲4.28 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 97.27 ▲11.01 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.70 ▲7.75 |
Global Settings /wp-admin/admin.php?page=settings_tkf | 3.26 | 38.94 |
All Feeds /wp-admin/admin.php?page=feeds_tkf | 3.57 | 41.07 |
Server storage [IO: ▲0.29MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 42 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_tkf_users |
wp_tkf_feeds |
wp_tkf_medias |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
WebSync TikTok Feed: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.57 ▼0.82 | 2.15 ▲0.39 | 49.16 ▲0.08 |
Dashboard /wp-admin | 2,232 ▲80 | 5.86 ▲0.30 | 107.33 ▲8.86 | 75.37 ▲34.71 |
Posts /wp-admin/edit.php | 2,115 ▲44 | 2.01 ▼0.14 | 36.19 ▼0.91 | 35.58 ▲1.02 |
Add New Post /wp-admin/post-new.php | 1,690 ▲157 | 22.43 ▼0.93 | 695.80 ▲29.72 | 60.27 ▼6.08 |
Media Library /wp-admin/upload.php | 1,408 ▲23 | 4.27 ▲0.06 | 99.38 ▼0.01 | 80.23 ▲37.09 |
Global Settings /wp-admin/admin.php?page=settings_tkf | 809 | 2.03 | 27.59 | 30.34 |
All Feeds /wp-admin/admin.php?page=feeds_tkf | 836 | 2.33 | 26.75 | 27.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 plugin did not uninstall successfully, leaving 3 tables in the database
- wp_tkf_medias
- wp_tkf_users
- wp_tkf_feeds
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means 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
Please fix the following
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'TKFViewSite' not found in wp-content/plugins/ws-tiktok-feed/frontend/views/TKFViewMasonry.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ws-tiktok-feed/tiktok_feed.php:50
- > PHP Fatal error
Uncaught Error: Class 'TKFViewSite' not found in wp-content/plugins/ws-tiktok-feed/frontend/views/TKFViewSlideshow.php:2
- > PHP Fatal error
Uncaught Error: Class 'TKFViewSite' not found in wp-content/plugins/ws-tiktok-feed/frontend/views/TKFViewThumbnails.php:2
- > PHP Fatal error
Uncaught Error: Class 'TKFViewSite' not found in wp-content/plugins/ws-tiktok-feed/frontend/views/TKFViewBlog_style.php:2
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: tiktok video, tiktok, tiktok gallery, tiktok feed, tiktok thumbnail
ws-tiktok-feed/tiktok_feed.php 92% from 13 tests
"WebSync TikTok Feed" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("ws-tiktok-feed.php" instead of "tiktok_feed.php")
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
Success! There were no dangerous files found in this plugin3,166 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 222 | 280 | 1,877 |
CSS | 3 | 156 | 6 | 918 |
JavaScript | 3 | 45 | 35 | 371 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 80 | |
▷ Static methods | 10 | 12.50% |
▷ Public methods | 78 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.50% |
Functions | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 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 |
assets/images/icons/tiktok_logo.png | 1.33KB | 1.31KB | ▼ 1.32% |
assets/images/icons/like.png | 1.45KB | 0.96KB | ▼ 33.89% |
assets/images/icons/camera_black.png | 0.19KB | 0.19KB | ▼ 3.05% |
assets/images/icons/play.png | 1.40KB | 0.66KB | ▼ 53.00% |
assets/images/icons/comment.png | 1.70KB | 1.05KB | ▼ 37.97% |