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
Install script ran successfully
Server metrics [RAM: ▲1.67MB] [CPU: ▲11.68ms] Passed 4 tests
A check of server-side resources used by Feed for TikTok
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.15 ▲1.69 | 58.53 ▲16.56 |
Dashboard /wp-admin | 5.02 ▲1.72 | 60.60 ▲9.71 |
Posts /wp-admin/edit.php | 5.07 ▲1.71 | 59.08 ▲13.83 |
Add New Post /wp-admin/post-new.php | 7.55 ▲1.67 | 106.23 ▲10.32 |
Media Library /wp-admin/upload.php | 4.85 ▲1.63 | 47.80 ▲12.87 |
Server storage [IO: ▲10.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 560 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Feed for TikTok: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,314 ▲579 | 19.99 ▲5.39 | 22.96 ▲21.29 | 46.55 ▲5.31 |
Dashboard /wp-admin | 2,479 ▲288 | 9.24 ▲3.33 | 158.18 ▲55.61 | 93.99 ▲51.97 |
Posts /wp-admin/edit.php | 2,406 ▲317 | 6.13 ▲4.14 | 83.07 ▲47.22 | 61.66 ▲30.07 |
Add New Post /wp-admin/post-new.php | 1,595 ▲72 | 19.97 ▼1.10 | 717.03 ▼29.98 | 38.89 ▼18.36 |
Media Library /wp-admin/upload.php | 1,536 ▲148 | 6.53 ▲2.34 | 106.55 ▼1.66 | 81.89 ▲34.76 |
Tik Tok /wp-admin/crb_carbon_fields_container_tik_tok.php | 26 | 0.44 | 0.09 | 13.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/feed-for-tiktok/public/presentation/profile.php
- > /wp-content/plugins/feed-for-tiktok/public/presentation/feed/item-slide.php
- > /wp-content/plugins/feed-for-tiktok/public/presentation/feed/items.php
- > /wp-content/plugins/feed-for-tiktok/public/presentation/feed/item-modal.php
- > /wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 217× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Field/Textarea_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Field/Sidebar_Field.php:7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/feed-for-tiktok/public/presentation/profile.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Datastore/User_Meta_Datastore.php:10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/feed-for-tiktok/public/presentation/profile.php on line 34
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Container/Condition/Blog_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Event\\PersistentListener' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Event/SingleEventListener.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/feed-for-tiktok/vendor/htmlburger/carbon-fields/core/Field/Checkbox_Field.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/crb_carbon_fields_container_tik_tok.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_tik_tok.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: tiktok elementor, tiktok, tiktok gallery, tiktok widget elementor, tiktok carousel elementor...
feed-for-tiktok/tik-tok-feed.php 77% from 13 tests
The main file in "Feed for TikTok" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("feed-for-tiktok.php" instead of "tik-tok-feed.php")
- Description: Make the plugin description longer than 10 characters (currently 1 characters long)
- 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 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin33,711 lines of code in 494 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 187 | 5,630 | 9,004 | 14,922 |
PHP | 204 | 2,981 | 6,918 | 11,328 |
PO File | 27 | 890 | 1,108 | 2,364 |
Sass | 52 | 449 | 18 | 2,281 |
CSS | 13 | 329 | 1,151 | 2,195 |
JSON | 5 | 0 | 0 | 496 |
Markdown | 4 | 25 | 0 | 73 |
SVG | 2 | 1 | 1 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 22 | |
Traits | 1 | |
Classes | 154 | |
▷ Abstract classes | 16 | 10.39% |
▷ Concrete classes | 138 | 89.61% |
▷ Final classes | 1 | 0.72% |
Methods | 1,026 | |
▷ Static methods | 96 | 9.36% |
▷ Public methods | 822 | 80.12% |
▷ Protected methods | 172 | 16.76% |
▷ Private methods | 32 | 3.12% |
Functions | 108 | |
▷ Named functions | 26 | 24.07% |
▷ Anonymous functions | 82 | 75.93% |
Constants | 40 | |
▷ Global constants | 11 | 27.50% |
▷ Class constants | 29 | 72.50% |
▷ Public constants | 25 | 86.21% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tik-tok.png | 18.87KB | 8.20KB | ▼ 56.57% |
images/tik-tok-menu-icon.png | 1.85KB | 0.95KB | ▼ 48.60% |