Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.18ms] Passed 4 tests
Analyzing server-side resources used by DmiMag FAQs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.03 ▲1.42 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.88 ▲2.84 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 54.96 ▲1.98 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 94.38 ▼5.93 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.38 ▲1.79 |
Add New /wp-admin/post-new.php?post_type=dmimag-faq | 3.35 | 53.36 |
All FAQs /wp-admin/edit.php?post_type=dmimag-faq | 3.37 | 39.60 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for DmiMag FAQs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,070 ▲335 | 16.96 ▲2.60 | 4.73 ▲2.98 | 38.32 ▼6.59 |
Dashboard /wp-admin | 2,390 ▲199 | 7.18 ▲2.28 | 132.47 ▲29.89 | 37.05 ▼3.31 |
Posts /wp-admin/edit.php | 2,445 ▲356 | 4.60 ▲2.56 | 67.20 ▲31.69 | 35.58 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,553 ▲11 | 18.42 ▲0.02 | 587.00 ▼48.80 | 33.96 ▼20.55 |
Media Library /wp-admin/upload.php | 1,585 ▲197 | 4.96 ▲0.76 | 92.48 ▼9.46 | 41.49 ▼2.86 |
Add New /wp-admin/post-new.php?post_type=dmimag-faq | 2,208 | 7.37 | 149.88 | 59.14 |
All FAQs /wp-admin/edit.php?post_type=dmimag-faq | 1,417 | 4.59 | 53.57 | 27.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: faq plugin, guide, faqs, faq, accordion...
dmimag-faqs/dmimag-faqs.php Passed 13 tests
The primary PHP file in "DmiMag FAQs" version 1.2.5 is used by WordPress to initiate all plugin functionality
46 characters long description:
FAQs Plugin. FAQ. Accordion Style, Guide Style
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,088 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 208 | 725 | 643 |
CSS | 2 | 94 | 30 | 352 |
JavaScript | 2 | 26 | 0 | 90 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 11.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 36 | 83.72% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 16.28% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin