Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.54MB] [CPU: ▼52.28ms] Passed 4 tests
Analyzing server-side resources used by Arashtad Accordion Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.45 ▼1.02 | 10.54 ▼33.20 |
Dashboard /wp-admin | 2.47 ▼0.84 | 12.18 ▼47.33 |
Posts /wp-admin/edit.php | 2.47 ▼0.89 | 12.60 ▼39.45 |
Add New Post /wp-admin/post-new.php | 2.47 ▼3.42 | 14.55 ▼89.12 |
Media Library /wp-admin/upload.php | 2.47 ▼0.77 | 11.50 ▼28.23 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_araccordion_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Arashtad Accordion Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.41 ▼0.82 | 8.10 ▲6.55 | 44.21 ▲4.45 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▲0.07 | 88.96 ▼9.72 | 41.01 ▼1.21 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.00 | 36.39 ▼10.08 | 35.43 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.71 ▲1.80 | 669.02 ▼61.71 | 67.78 ▲6.87 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.20 ▼0.04 | 101.98 ▼15.12 | 42.66 ▼5.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/arashtad-accordion/arashtad-accordion.php+56
Undefined variable: text_domain
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_araccordion_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 output text when accessed directly:
- > /wp-content/plugins/arashtad-accordion/arashtad-accordion.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #0 (COVER IMAGE), #1 (Backend Area), #2 (Widget Backend), #3 (Default Style), #4 (Flat Style), #5 (Nude Style), #6 (BootStrap Style), #7 (Fancy Style)
arashtad-accordion/arashtad-accordion.php Passed 13 tests
"Arashtad Accordion Plugin" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
66 characters long description:
Responsive accordion widget for WordPress, created by Arashtad.com
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,424 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 162 | 43 | 671 |
CSS | 1 | 25 | 23 | 454 |
PO File | 2 | 112 | 116 | 278 |
JavaScript | 1 | 4 | 12 | 20 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 22.25 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 49.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected