Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼143.53ms] Passed 4 tests
A check of server-side resources used by Easy Accordion Posts
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.98 ▲0.15 | 40.84 ▲6.35 |
Dashboard /wp-admin | 3.20 ▲0.15 | 48.95 ▼1.58 |
Posts /wp-admin/edit.php | 3.31 ▲0.21 | 49.36 ▲1.23 |
Add New Post /wp-admin/post-new.php | 5.56 ▲0.13 | 94.63 ▼575.44 |
Media Library /wp-admin/upload.php | 3.15 ▲0.14 | 34.66 ▲1.68 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 61 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy Accordion Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,827 ▲221 | 16.58 ▲1.10 | 12.53 ▲3.10 | 50.70 ▲3.56 |
Dashboard /wp-admin | 3,007 ▲73 | 6.06 ▲0.11 | 143.80 ▼3.43 | 115.09 ▼4.36 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 2.69 ▼0.01 | 71.98 ▲2.30 | 95.16 ▼5.41 |
Add New Post /wp-admin/post-new.php | 1,508 ▼175 | 18.86 ▲0.18 | 371.56 ▼32.42 | 110.86 ▼3.92 |
Media Library /wp-admin/upload.php | 1,825 ▲15 | 5.01 ▼0.01 | 153.56 ▼8.17 | 117.32 ▼9.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/add-cell.php
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/resp.php
- > /wp-content/plugins/easy-accordion-posts/public/partials/easy-accordion-posts-public-display.php
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/warning.php
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/database-table.php
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/cell.php
- > /wp-content/plugins/easy-accordion-posts/admin/partials/angular-templates/starter-notes.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/easy-accordion-posts/public/templates/product/product-info.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/easy-accordion-posts/public/templates/product/product-buttons.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function the_excerpt() in wp-content/plugins/easy-accordion-posts/public/templates/product/product-short-description.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/easy-accordion-posts/public/templates/employee/employee-info.php:14
- > PHP Fatal error
Uncaught Error: Call to a member function get_average_rating() on null in wp-content/plugins/easy-accordion-posts/public/templates/product/product-review.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/easy-accordion-posts/public/templates/product/product-stats.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function the_permalink() in wp-content/plugins/easy-accordion-posts/public/templates/blog/blog-read-more-button.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/easy-accordion-posts/public/templates/employee/employee-career-highlights.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/easy-accordion-posts/public/templates/example.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function the_excerpt() in wp-content/plugins/easy-accordion-posts/public/templates/employee/employee-bio-summary.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #5 (Super Hero Stats), #6 (Admin Page (Partial Screen Shot))
- Donate link: Please fix this invalid url: ""
easy-accordion-posts/easy-accordion-posts.php Passed 13 tests
The entry point to "Easy Accordion Posts" version 1.1.0 is a PHP file that has certain tags in its header comment area
80 characters long description:
Display your posts as accordions (in a grid) using simple and intuitive options.
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
Everything looks great! No dangerous files found in this plugin17,191 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 2,715 | 16,062 | 12,163 |
CSS | 5 | 205 | 57 | 3,062 |
PHP | 30 | 272 | 711 | 1,311 |
SVG | 1 | 0 | 0 | 655 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 16.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/eap_rating_stars.png | 14.76KB | 0.55KB | ▼ 96.24% |