Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/bulgarian-search/sinn.php+105
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.16ms] Passed 4 tests
Analyzing server-side resources used by Bulgarian search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.14 ▼32.74 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.81 ▼44.44 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.66 ▼36.43 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.22 ▼91.03 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.09 ▼27.68 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_seachinnapredwidget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Bulgarian search
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲102 | 13.74 ▼0.81 | 4.40 ▲2.82 | 44.64 ▲6.49 |
Dashboard /wp-admin | 2,213 ▲24 | 5.91 ▲0.98 | 97.86 ▼24.37 | 35.93 ▼9.82 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▲0.01 | 42.17 ▲6.23 | 35.40 ▲4.07 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.17 ▲0.10 | 688.12 ▲42.54 | 61.47 ▲6.25 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.33 ▲0.09 | 92.80 ▼7.68 | 42.40 ▼0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/bulgarian-search/sinn.php+105
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_seachinnapredwidget
- theysaidso_admin_options
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/bulgarian-search/sinn.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: bulgaria, google, search, search engine, widget
bulgarian-search/sinn.php 92% from 13 tests
The main file in "Bulgarian search" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bulgarian-search.php" instead of "sinn.php")
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
There were no executable files found in this plugin78 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 18 | 20 | 67 |
JavaScript | 1 | 1 | 0 | 7 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin