Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.77ms] Passed 4 tests
A check of server-side resources used by FAQ Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.81 ▲2.25 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.97 ▼13.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.94 ▼4.80 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.75 ▼7.41 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.04 ▲2.34 |
Add New /wp-admin/post-new.php?post_type=faqpage | 3.35 | 45.12 |
FAQs /wp-admin/edit.php?post_type=faqpage | 3.30 | 34.52 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
FAQ Page: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.61 ▼0.70 | 8.58 ▲6.76 | 42.34 ▼4.51 |
Dashboard /wp-admin | 2,230 ▲39 | 5.83 ▲0.95 | 98.16 ▼5.02 | 38.63 ▼4.61 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.06 ▲0.05 | 37.38 ▲3.41 | 35.59 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,556 ▲36 | 23.20 ▲0.18 | 634.46 ▼19.02 | 50.01 ▼7.54 |
Media Library /wp-admin/upload.php | 1,409 ▲24 | 4.18 ▼0.05 | 100.84 ▼2.18 | 43.41 ▼0.55 |
Add New /wp-admin/post-new.php?post_type=faqpage | 2,152 | 7.89 | 171.87 | 62.96 |
FAQs /wp-admin/edit.php?post_type=faqpage | 1,080 | 1.96 | 30.80 | 28.73 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-page/faq-page.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: jquery, faqs, toggle, icons, faq...
faq-page/faq-page.php Passed 13 tests
The main PHP file in "FAQ Page" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Display all your frequently asked questions with a shortcode.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected139 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 21 | 34 | 73 |
CSS | 1 | 6 | 0 | 55 |
JavaScript | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/faqs-minus.png | 14.19KB | 0.10KB | ▼ 99.28% |
css/images/faqs-plus.png | 1.01KB | 0.10KB | ▼ 89.62% |