Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.47ms] Passed 4 tests
A check of server-side resources used by Full Screen Morphing Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 537.83 ▲501.35 |
Dashboard /wp-admin | 3.41 ▲0.07 | 45.44 ▼15.51 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 56.80 ▲5.41 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.92 ▼14.54 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 35.54 ▲2.75 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Full Screen Morphing Search
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,997 ▲262 | 13.91 ▼0.49 | 9.16 ▲7.42 | 66.31 ▲26.99 |
Dashboard /wp-admin | 2,206 ▲15 | 5.82 ▼0.07 | 93.93 ▼18.19 | 38.54 ▼5.38 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.04 | 40.92 ▼7.63 | 36.38 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.37 ▲0.10 | 602.97 ▲0.62 | 56.82 ▲6.43 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.04 | 97.00 ▼2.28 | 41.85 ▼3.49 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/full-screen-morphing-search/functions-full-screen-morphing-search.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/full-screen-morphing-search/class-full-screen-morphing-search.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/full-screen-morphing-search/class-full-screen-morphing-search.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: morphing search, full screen search, autocomplete, search, search overlay
full-screen-morphing-search/full-screen-morphing-search.php Passed 13 tests
The entry point to "Full Screen Morphing Search" version 3.5 is a PHP file that has certain tags in its header comment area
76 characters long description:
Effect for any WordPress search input that morphs into a fullscreen overlay.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,603 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 176 | 769 |
CSS | 1 | 76 | 21 | 450 |
JavaScript | 3 | 51 | 74 | 225 |
Markdown | 1 | 56 | 0 | 151 |
SVG | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 32.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 11.33 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 19.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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/category.png | 2.18KB | 1.62KB | ▼ 25.80% |
assets/img/article.png | 1.90KB | 1.49KB | ▼ 21.67% |
assets/img/tag.png | 1.77KB | 1.21KB | ▼ 31.92% |