Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.30ms] Passed 4 tests
Server-side resources used by Elite Accordion
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.01 | 35.98 ▼3.03 |
Dashboard /wp-admin | 3.35 ▲0.02 | 49.06 ▼3.73 |
Posts /wp-admin/edit.php | 3.40 ▲0.01 | 48.66 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.01 | 80.61 ▼26.53 |
Media Library /wp-admin/upload.php | 3.27 ▲0.01 | 32.95 ▼3.89 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: no files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Elite Accordion: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,142 ▲396 | 13.94 ▼0.45 | 12.97 ▲11.31 | 58.22 ▲15.94 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▲0.95 | 96.57 ▼11.23 | 39.25 ▼5.02 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.00 | 40.64 ▲3.95 | 35.44 ▼6.58 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 21.45 ▼1.91 | 721.40 ▲58.22 | 55.72 ▼0.78 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.18 ▲0.01 | 93.93 ▼19.37 | 40.92 ▼7.96 |
Uninstaller [IO: ✅] [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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/elite-accordion/index.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tested up to: Invalid version format
- Screenshots: Add images for these screenshots: #1 (Code in editor.), #2 (accordion in page.)
- Tags: There are too many tags (11 tag instead of maximum 10)
elite-accordion/index.php 92% from 13 tests
The main PHP script in "Elite Accordion" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("elite-accordion.php" instead of "index.php")
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
There were no executable files found in this plugin166 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 5 | 4 | 69 |
PHP | 1 | 20 | 19 | 52 |
JavaScript | 3 | 19 | 18 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
3 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Screenshot-2.png | 108.01KB | 39.97KB | ▼ 63.00% |
screenshot-1.png | 27.50KB | 11.04KB | ▼ 59.86% |
Screenshot-1.png | 27.50KB | 11.04KB | ▼ 59.86% |