Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.59MB] [CPU: ▲1.48ms] Passed 4 tests
Analyzing server-side resources used by Full-Text Search
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 42.88 ▲3.09 |
Dashboard /wp-admin | 3.90 ▲0.60 | 52.31 ▲3.42 |
Posts /wp-admin/edit.php | 3.96 ▲0.59 | 46.64 ▲1.72 |
Add New Post /wp-admin/post-new.php | 6.49 ▲0.60 | 85.20 ▼2.33 |
Media Library /wp-admin/upload.php | 3.83 ▲0.59 | 39.58 ▲6.08 |
Full-Text Search /wp-admin/options-general.php?page=full-text-search | 3.73 | 37.20 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 122 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_full_text_search_posts |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
full_text_search_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Full-Text Search
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.18 ▼0.11 | 1.70 ▼0.35 | 43.77 ▼4.13 |
Dashboard /wp-admin | 2,199 ▲22 | 5.56 ▼0.00 | 86.89 ▼14.75 | 37.76 ▼4.28 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 2.03 ▲0.07 | 34.93 ▼0.75 | 32.30 ▼3.32 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.33 ▲0.24 | 662.83 ▼19.14 | 51.93 ▼6.14 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▲0.02 | 93.61 ▼7.55 | 40.06 ▼3.49 |
Full-Text Search /wp-admin/options-general.php?page=full-text-search | 1,105 | 1.88 | 31.06 | 33.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 34× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\PDFObject' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/XObject/Image.php:41
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\PDFObject' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Font.php:41
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Element' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementNumeric.php:41
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Encoding\\AbstractEncoding' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Encoding/MacRomanEncoding.php:40
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Element' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementArray.php:43
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Encoding\\AbstractEncoding' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Encoding/WinAnsiEncoding.php:40
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Element' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementName.php:42
- > PHP Fatal error
Uncaught Error: Class 'PhpCsFixer\\Finder' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/.php-cs-fixer.php:6
- > PHP Fatal error
Uncaught Error: Class 'Smalot\\PdfParser\\Element' not found in wp-content/plugins/full-text-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementBoolean.php:41
- > PHP Warning
require_once(wp-content/plugins/full-text-search/vendor/automattic/jetpack-autoloader/src/jetpack-autoloader/class-autoloader.php): failed to open stream: No such file or directory in wp-content/plugins/full-text-search/vendor/automattic/jetpack-autoloader/src/autoload.php on line 4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
4 plugin tags: search, full-text, fulltext, mroonga
full-text-search/full-text-search.php 92% from 13 tests
The primary PHP file in "Full-Text Search" version 2.13.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
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
Good job! No executable or dangerous file extensions detected14,415 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 2,053 | 5,214 | 12,912 |
Markdown | 6 | 207 | 0 | 599 |
CSS | 2 | 61 | 21 | 339 |
YAML | 3 | 58 | 0 | 240 |
JSON | 1 | 0 | 0 | 208 |
JavaScript | 1 | 15 | 1 | 81 |
XML | 2 | 2 | 2 | 26 |
make | 1 | 4 | 4 | 10 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 21.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 213.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 1 | 1.23% |
▷ Concrete classes | 80 | 98.77% |
▷ Final classes | 1 | 1.25% |
Methods | 467 | |
▷ Static methods | 98 | 20.99% |
▷ Public methods | 377 | 80.73% |
▷ Protected methods | 33 | 7.07% |
▷ Private methods | 57 | 12.21% |
Functions | 86 | |
▷ Named functions | 76 | 88.37% |
▷ Anonymous functions | 10 | 11.63% |
Constants | 19 | |
▷ Global constants | 7 | 36.84% |
▷ Class constants | 12 | 63.16% |
▷ Public constants | 11 | 91.67% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin