Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▼7.16ms] Passed 4 tests
Analyzing server-side resources used by Easy Tiktok Feed
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.51 | 45.66 ▼1.17 |
Dashboard /wp-admin | 3.81 ▲0.51 | 60.43 ▲6.05 |
Posts /wp-admin/edit.php | 3.86 ▲0.51 | 53.98 ▼6.59 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 88.81 ▼24.39 |
Media Library /wp-admin/upload.php | 3.74 ▲0.50 | 46.32 ▲3.53 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 3.93 | 37.96 |
Server storage [IO: ▲4.87MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 250 new files
Database: no new tables, 11 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
etf_settings |
fs_debug_mode |
fs_accounts |
widget_recent-posts |
fs_active_plugins |
widget_theysaidso_widget |
can_compress_scripts |
fs_gdpr |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Tiktok Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲182 | 14.04 ▼0.35 | 14.10 ▲12.06 | 34.08 ▼14.32 |
Dashboard /wp-admin | 2,238 ▲64 | 5.52 ▼0.11 | 96.85 ▼2.96 | 84.75 ▲40.42 |
Posts /wp-admin/edit.php | 2,162 ▲62 | 1.97 ▼0.16 | 36.50 ▼0.90 | 37.27 ▲1.25 |
Add New Post /wp-admin/post-new.php | 1,724 ▲198 | 22.52 ▼0.49 | 753.82 ▲96.77 | 58.05 ▼9.88 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.12 ▼0.00 | 103.53 ▼14.86 | 79.60 ▲31.76 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,114 | 1.69 | 25.91 | 28.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/easy-tiktok-feed/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 11 options
- fs_accounts
- widget_recent-comments
- db_upgraded
- fs_active_plugins
- can_compress_scripts
- etf_settings
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- fs_debug_mode
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/easy-tiktok-feed/frontend/views/html-feed-header.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/easy-tiktok-feed/frontend/views/feed.php:12
- > 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 Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: tiktok video, tiktok feed, tiktok widget, tiktok gallery, tiktok...
easy-tiktok-feed/easy-tiktok-feed.php Passed 13 tests
The main file in "Easy Tiktok Feed" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Display your awesome TikTok feed responsive gallery on your website.
Code Analysis 97% from 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
No dangerous file extensions were detected40,533 lines of code in 200 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 7,625 | 16,240 | 31,495 |
Sass | 54 | 2,015 | 339 | 5,898 |
CSS | 17 | 30 | 0 | 1,980 |
SVG | 2 | 1 | 0 | 608 |
JavaScript | 6 | 141 | 90 | 404 |
PO File | 1 | 61 | 65 | 148 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 86.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,158 | |
▷ Static methods | 173 | 14.94% |
▷ Public methods | 813 | 70.21% |
▷ Protected methods | 15 | 1.30% |
▷ Private methods | 330 | 28.50% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 127 | |
▷ Global constants | 102 | 80.31% |
▷ Class constants | 25 | 19.69% |
▷ Public constants | 25 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/easy-tiktok-feed.png | 3.32KB | 3.09KB | ▼ 7.02% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |