Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.02ms] Passed 4 tests
Server-side resources used by QuadLayers TikTok Feed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 41.07 ▼3.36 |
Dashboard /wp-admin | 3.50 ▲0.16 | 55.71 ▼3.74 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 46.76 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 98.52 ▼2.40 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.15 ▲6.68 |
Premium /wp-admin/admin.php?page=qlttf_backend&tab=premium | 3.34 | 41.02 |
Feeds /wp-admin/admin.php?page=qlttf_backend&tab=feeds | 3.34 | 38.12 |
Settings /wp-admin/admin.php?page=qlttf_backend&tab=settings | 3.34 | 39.62 |
Welcome /wp-admin/admin.php?page=qlttf_backend | 3.34 | 33.87 |
Accounts /wp-admin/admin.php?page=qlttf_backend&tab=accounts | 3.34 | 39.25 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 185 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for QuadLayers TikTok Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,113 ▲366 | 16.05 ▲1.70 | 10.50 ▲8.74 | 41.39 ▼1.39 |
Dashboard /wp-admin | 2,389 ▲211 | 6.30 ▲0.67 | 117.55 ▲2.43 | 99.11 ▲58.87 |
Posts /wp-admin/edit.php | 2,215 ▲115 | 3.82 ▲1.80 | 45.61 ▲9.73 | 64.94 ▲22.23 |
Add New Post /wp-admin/post-new.php | 6,269 ▲4,743 | 19.56 ▼3.64 | 925.29 ▲246.38 | 38.89 ▼12.00 |
Media Library /wp-admin/upload.php | 1,506 ▲109 | 5.71 ▲1.50 | 109.61 ▲7.70 | 75.62 ▲29.68 |
Premium /wp-admin/admin.php?page=qlttf_backend&tab=premium | 1,277 | 11.67 | 229.31 | 129.80 |
Feeds /wp-admin/admin.php?page=qlttf_backend&tab=feeds | 1,230 | 11.78 | 115.58 | 163.30 |
Settings /wp-admin/admin.php?page=qlttf_backend&tab=settings | 1,243 | 11.72 | 109.79 | 146.48 |
Welcome /wp-admin/admin.php?page=qlttf_backend | 1,240 | 11.74 | 118.47 | 151.73 |
Accounts /wp-admin/admin.php?page=qlttf_backend&tab=accounts | 1,234 | 11.63 | 108.12 | 147.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 58× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\TTF\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/wp-tiktok-feed/lib/api/rest/endpoints/frontend/external-user-profile/class-load.php:10
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\TTF\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/wp-tiktok-feed/lib/api/rest/endpoints/backend/feeds/class-delete.php:11
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WP_Orm\\Entity\\CollectionEntity' not found in wp-content/plugins/wp-tiktok-feed/vendor/franmastromarino/wp-orm/tests/Collection/CollectionEntityTestPrimaryKeyString.php:5
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-tiktok-feed/vendor/franmastromarino/wp-orm/tests/Collection/CollectionRepositoryBuilderTest.php:10
- > PHP Fatal error
Uncaught Error: Interface 'QuadLayers\\WP_Orm\\Mapper\\CollectionMapperInterface' not found in wp-content/plugins/wp-tiktok-feed/vendor/franmastromarino/wp-orm/src/Mapper/CollectionMapper.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/wp-tiktok-feed/vendor/franmastromarino/wp-orm/tests/Single/SingleTest.php:8
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\WP_Orm\\Entity\\SingleEntity' not found in wp-content/plugins/wp-tiktok-feed/vendor/franmastromarino/wp-orm/src/Entity/CollectionEntity.php:7
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\TTF\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/wp-tiktok-feed/lib/api/rest/endpoints/backend/accounts/class-delete.php:11
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\TTF\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/wp-tiktok-feed/lib/api/rest/endpoints/backend/feeds/class-create.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function QuadLayers\\TTF\\load_plugin_textdomain() in wp-content/plugins/wp-tiktok-feed/lib/class-plugin.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=qlttf_backend&tab=feeds
- > Console-api (severe) in unknown
/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55 0:6479 Error: {}at /wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1769at async y (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1652)at async Object.$ [as fulfill] (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:6441)at async /wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff:2:17117
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=qlttf_backend&tab=accounts
- > Console-api (severe) in unknown
/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55 0:6405 Error: {}at /wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1769at async y (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1652)at async Object.L [as fulfill] (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:6367)at async /wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff:2:17117
- > GET request to /wp-admin/admin.php?page=qlttf_backend&tab=settings
- > Console-api (severe) in unknown
/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55 0:6553 Error: {}at /wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1769at async y (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:1652)at async Object.G [as fulfill] (/wp-content/plugins/wp-tiktok-feed/build/store/js/index.js?ver=1a702afe9c1a88ba2c55:1:6515)at async /wp-includes/js/dist/data.min.js?ver=ff7eb3945f963be850ff:2:17117
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #6 (Tik Tok Feed / Settings tab) image not found
wp-tiktok-feed/wp-tiktok-feed.php Passed 13 tests
The entry point to "QuadLayers TikTok Feed" version 4.2.7 is a PHP file that has certain tags in its header comment area
89 characters long description:
Display beautiful and responsive galleries on your website from your TikTok feed account.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin16,454 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 11 | 29 | 8,121 |
PHP | 115 | 1,573 | 2,142 | 6,350 |
Markdown | 11 | 259 | 0 | 713 |
JSON | 5 | 0 | 0 | 663 |
CSS | 4 | 1 | 11 | 531 |
XML | 2 | 7 | 7 | 45 |
SVG | 4 | 0 | 0 | 31 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 7.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 46 | |
Interfaces | 7 | |
Traits | 3 | |
Classes | 81 | |
▷ Abstract classes | 5 | 6.17% |
▷ Concrete classes | 76 | 93.83% |
▷ Final classes | 1 | 1.32% |
Methods | 440 | |
▷ Static methods | 105 | 23.86% |
▷ Public methods | 394 | 89.55% |
▷ Protected methods | 14 | 3.18% |
▷ Private methods | 32 | 7.27% |
Functions | 32 | |
▷ Named functions | 6 | 18.75% |
▷ Anonymous functions | 26 | 81.25% |
Constants | 33 | |
▷ Global constants | 33 | 100.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
14 compressed PNG files occupy 0.83MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/img/tiktok-feed.png | 70.25KB | 75.67KB | 0.00% |
assets/backend/img/carousel.png | 0.31KB | 0.32KB | 0.00% |
assets/backend/img/tiktok-popup-uai.png | 53.18KB | 57.62KB | 0.00% |
assets/backend/img/tiktok-feed-highlight.png | 94.08KB | 101.73KB | 0.00% |
assets/backend/img/highlight-square.png | 0.16KB | 0.15KB | ▼ 4.24% |