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.08MB] [CPU: ▼7.93ms] Passed 4 tests
A check of server-side resources used by Notice - AI-powered editor for FAQ, blog, documentation & more
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.36 ▼4.07 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.25 ▼4.77 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.46 ▼4.36 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 82.15 ▼18.51 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.63 ▼3.49 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Notice - AI-powered editor for FAQ, blog, documentation & more
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲131 | 13.49 ▼0.74 | 9.60 ▲7.83 | 44.44 ▲3.35 |
Dashboard /wp-admin | 2,214 ▲43 | 5.66 ▼0.03 | 86.34 ▼4.80 | 42.69 ▼0.80 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.06 ▲0.06 | 37.07 ▲0.37 | 36.73 ▲1.11 |
Add New Post /wp-admin/post-new.php | 6,208 ▲4,659 | 18.80 ▲0.37 | 895.77 ▲253.31 | 39.50 ▼13.94 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.29 ▲0.01 | 106.86 ▲2.39 | 45.87 ▲0.65 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 | 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
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/notice-faq/public/partials/noticefaq-public-display.php
- > /wp-content/plugins/notice-faq/admin/partials/noticefaq-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/notice-faq/blocks/noticefaq-block.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: notice, blog, seo, wiki, rich snippet...
notice-faq/noticefaq.php 85% from 13 tests
"Notice - AI-powered editor for FAQ, blog, documentation & more" version 1.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("notice-faq.php" instead of "noticefaq.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin698 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 124 | 532 | 379 |
CSS | 3 | 16 | 27 | 260 |
JavaScript | 3 | 11 | 85 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
16 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/youtubelogo.png | 2.29KB | 1.32KB | ▼ 42.21% |
assets/images/youtube.png | 0.45KB | 0.34KB | ▼ 23.91% |
assets/images/linkedin.png | 0.47KB | 0.34KB | ▼ 26.76% |
assets/images/like.png | 1.06KB | 0.62KB | ▼ 41.62% |
assets/images/vector.png | 2.83KB | 1.46KB | ▼ 48.33% |