Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.13ms] Passed 4 tests
An overview of server-side resources used by Searchie
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 47.98 ▲8.03 |
Dashboard /wp-admin | 3.71 ▲0.40 | 51.65 ▲4.64 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 59.49 ▲7.53 |
Add New Post /wp-admin/post-new.php | 5.23 ▼0.65 | 56.61 ▼40.73 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 41.36 ▲9.93 |
Widgets /wp-admin/admin.php?page=searchie-widgets | 3.65 | 38.68 |
Playlists /wp-admin/admin.php?page=searchie-playlists | 3.65 | 40.11 |
Media /wp-admin/admin.php?page=searchie-media | 3.72 | 39.54 |
Settings /wp-admin/admin.php?page=searchie-settings | 3.62 | 39.02 |
Server storage [IO: ▲9.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 564 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Searchie
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,115 ▲369 | 18.92 ▲4.55 | 1.78 ▼0.29 | 37.01 ▼5.53 |
Dashboard /wp-admin | 2,487 ▲302 | 10.12 ▲4.24 | 187.50 ▲78.68 | 86.37 ▲42.54 |
Posts /wp-admin/edit.php | 2,413 ▲327 | 6.56 ▲4.52 | 100.66 ▲62.87 | 80.36 ▲46.65 |
Add New Post /wp-admin/post-new.php | 6,356 ▲4,837 | 22.71 ▼0.37 | 960.50 ▲308.39 | 47.74 ▼3.10 |
Media Library /wp-admin/upload.php | 1,549 ▲158 | 7.15 ▲2.97 | 115.00 ▲14.85 | 73.56 ▲28.46 |
Widgets /wp-admin/admin.php?page=searchie-widgets | 1,150 | 6.17 | 66.41 | 57.14 |
Playlists /wp-admin/admin.php?page=searchie-playlists | 1,153 | 6.23 | 66.56 | 57.42 |
Media /wp-admin/admin.php?page=searchie-media | 1,150 | 6.27 | 69.09 | 58.77 |
Settings /wp-admin/admin.php?page=searchie-settings | 1,150 | 6.15 | 64.73 | 59.23 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | 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
- 13× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/searchie/admin/partials/dashboard/media/preview-modal.php
- > /wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/nav.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/settings/part/profile.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/playlists/preview-modal.php
- > /wp-content/plugins/searchie/public/partials/searchie-public-display.php
- > /wp-content/plugins/searchie/admin/partials/shortcodes/playlist-embed.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/settings/js.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/pagination.php
- > /wp-content/plugins/searchie/admin/partials/dashboard/widgets/preview-modal.php
- 191× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\File_Field' not found in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/core/Field/Image_Field.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Term_Condition' not found in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/core/Container/Condition/Term_Parent_Condition.php:28
- > PHP Notice
Undefined variable: plural in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 32
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/core/Container/User_Meta_Container.php:9
- > PHP Notice
Undefined variable: files in wp-content/plugins/searchie/admin/partials/dashboard/part/files.php on line 2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/templates/Container/user_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/core/Field/Sidebar_Field.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Fields\\Container\\Fulfillable\\Fulfillable' not found in wp-content/plugins/searchie/vendor/htmlburger/carbon-fields/core/Container/Condition/Condition.php:11
- > PHP Notice
Undefined variable: title in wp-content/plugins/searchie/admin/partials/dashboard/media/preview-modal.php on line 16
- > PHP Notice
Undefined variable: url_links in wp-content/plugins/searchie/admin/partials/dashboard/pagination.php on line 4
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: content, audio, video
searchie/searchie.php 92% from 13 tests
This is the main PHP file of "Searchie" version 1.17.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 238 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin32,824 lines of code in 510 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 243 | 3,567 | 9,202 | 13,963 |
JavaScript | 179 | 5,224 | 8,489 | 13,155 |
CSS | 13 | 350 | 1,188 | 1,870 |
Sass | 48 | 334 | 0 | 1,746 |
PO File | 20 | 610 | 779 | 1,652 |
JSON | 4 | 0 | 0 | 370 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 177 | |
▷ Abstract classes | 13 | 7.34% |
▷ Concrete classes | 164 | 92.66% |
▷ Final classes | 1 | 0.61% |
Methods | 1,169 | |
▷ Static methods | 144 | 12.32% |
▷ Public methods | 993 | 84.94% |
▷ Protected methods | 166 | 14.20% |
▷ Private methods | 10 | 0.86% |
Functions | 147 | |
▷ Named functions | 65 | 44.22% |
▷ Anonymous functions | 82 | 55.78% |
Constants | 34 | |
▷ Global constants | 11 | 32.35% |
▷ Class constants | 23 | 67.65% |
▷ Public constants | 23 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/video-placeholder.png | 4.80KB | 2.25KB | ▼ 53.19% |
assets/img/api-thumb.png | 3.35KB | 1.66KB | ▼ 50.41% |
assets/img/searchie-symbol.png | 0.47KB | 0.34KB | ▼ 27.57% |