Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼8.05ms] Passed 4 tests
This is a short check of server-side resources used by Simple FAQ To The Website
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 50.29 ▲13.98 |
Dashboard /wp-admin | 3.56 ▲0.21 | 46.31 ▼9.22 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 49.14 ▲0.93 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 81.28 ▼24.41 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 36.88 ▲0.49 |
Simple FAQ /wp-admin/edit.php?post_type=mxffi_iile_faq | 3.46 | 38.72 |
Add Question /wp-admin/post-new.php?post_type=mxffi_iile_faq | 3.60 | 51.52 |
Simple FAQ /wp-admin/options-general.php?page=settings_simple_faq | 3.38 | 33.10 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple FAQ To The Website
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲205 | 14.05 ▼0.33 | 7.31 ▲5.63 | 41.82 ▲0.79 |
Dashboard /wp-admin | 2,257 ▲69 | 5.23 ▲0.32 | 101.65 ▼1.92 | 39.01 ▼1.25 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.40 ▲0.37 | 40.49 ▲1.04 | 34.24 ▲0.44 |
Add New Post /wp-admin/post-new.php | 1,553 ▲39 | 23.21 ▲5.70 | 598.98 ▼73.23 | 34.56 ▼18.01 |
Media Library /wp-admin/upload.php | 1,436 ▲51 | 4.51 ▲0.30 | 103.45 ▼8.98 | 41.81 ▼4.32 |
Simple FAQ /wp-admin/edit.php?post_type=mxffi_iile_faq | 1,113 | 2.44 | 33.65 | 30.24 |
Add Question /wp-admin/post-new.php?post_type=mxffi_iile_faq | 2,299 | 7.89 | 166.36 | 59.47 |
Simple FAQ /wp-admin/options-general.php?page=settings_simple_faq | 932 | 2.41 | 39.77 | 24.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
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 __() in wp-content/plugins/simple-faq-to-the-website/includes/admin/views/settings-page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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
3 plugin tags: faq, question, answer
simple-faq-to-the-website/simple-faq-to-the-website.php Passed 13 tests
The primary PHP file in "Simple FAQ To The Website" version 1.0 is used by WordPress to initiate all plugin functionality
63 characters long description:
This plugin allows you to place the FAQ system to your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected14,204 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 1,390 | 1,512 | 9,985 |
CSS | 4 | 6 | 19 | 2,561 |
PHP | 26 | 648 | 395 | 940 |
SVG | 1 | 0 | 0 | 685 |
PO File | 1 | 8 | 8 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 1 | 5.00% |
Methods | 68 | |
▷ Static methods | 32 | 47.06% |
▷ Public methods | 68 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin