Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.26MB] [CPU: ▼5.77ms] Passed 4 tests
Analyzing server-side resources used by Tiktok Feed - Best TikTok feed plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.28 | 39.59 ▲1.22 |
Dashboard /wp-admin | 3.56 ▲0.22 | 52.89 ▼10.44 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 46.98 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 84.70 ▼14.98 |
Media Library /wp-admin/upload.php | 3.48 ▲0.26 | 39.26 ▲6.87 |
B Tiktok Feed /wp-admin/admin.php?page=b-tiktok-feed | 3.44 | 36.81 |
Server storage [IO: ▲2.74MB] [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: 75 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
ttp-redirect |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Tiktok Feed - Best TikTok feed plugin for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲69 | 13.82 ▼0.58 | 4.71 ▲3.02 | 36.67 ▼7.04 |
Dashboard /wp-admin | 2,208 ▲28 | 6.00 ▲0.41 | 91.38 ▼0.93 | 38.66 ▼0.52 |
Posts /wp-admin/edit.php | 2,114 ▲17 | 2.37 ▲0.40 | 42.29 ▲5.08 | 34.41 ▲1.60 |
Add New Post /wp-admin/post-new.php | 6,438 ▲4,909 | 30.52 ▲7.35 | 966.37 ▲367.70 | 41.25 ▼9.82 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.40 ▲0.17 | 126.41 ▲25.86 | 46.44 ▲4.78 |
B Tiktok Feed /wp-admin/admin.php?page=b-tiktok-feed | 805 | 2.49 | 59.90 | 28.45 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- ttp-redirect
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'BSDK' not found in wp-content/plugins/b-tiktok-feed/bplugins_sdk/inc/Base/Activate.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/b-tiktok-feed/TiktokAPI.php:25
- > PHP Fatal error
Uncaught Error: Class 'BSDK' not found in wp-content/plugins/b-tiktok-feed/bplugins_sdk/inc/Base/License.php:3
- > PHP Warning
Use of undefined constant TTP_PLUGIN_VERSION - assumed 'TTP_PLUGIN_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/b-tiktok-feed/dist/editor.asset.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function can_use_premium_feature() on null in wp-content/plugins/b-tiktok-feed/custom-post.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 require attention:
- Requires at least: Invalid plugin version format
b-tiktok-feed/index.php 85% from 13 tests
This is the main PHP file of "Tiktok Feed - Best TikTok feed plugin for WordPress" version 1.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("b-tiktok-feed.php" instead of "index.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 plugin2,122 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 148 | 57 | 754 |
JavaScript | 17 | 71 | 29 | 479 |
JSON | 7 | 0 | 0 | 430 |
PO File | 2 | 97 | 219 | 225 |
Sass | 3 | 11 | 5 | 184 |
CSS | 6 | 4 | 4 | 50 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 10.12 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 3 | 5.45% |
▷ Public methods | 53 | 96.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.64% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
11 compressed PNG files occupy 0.59MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/patterns/ttp-default-profile-slider-vertical.png | 57.09KB | 61.15KB | 0.00% |
assets/images/patterns/ttp-default-profile-slider-horizontal.png | 37.81KB | 40.37KB | 0.00% |
assets/images/patterns/ttp-landscape-profile-default-center.png | 87.60KB | 94.97KB | 0.00% |
assets/images/patterns/ttp-profile-masonry.png | 87.10KB | 93.86KB | 0.00% |
assets/images/patterns/ttp-potrait-profile-default-center.png | 70.04KB | 74.60KB | 0.00% |