Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▲0.29ms] Passed 4 tests
Server-side resources used by Advanced post slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 38.59 ▼2.65 |
Dashboard /wp-admin | 3.49 ▲0.19 | 47.61 ▲1.80 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 48.19 ▲2.60 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 92.60 ▲11.61 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.63 ▼0.58 |
Server storage [IO: ▲0.29MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 22 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_advps_thumbnail |
wp_advps_optionset |
New WordPress options |
---|
advpssmethod3 |
advps-curr-version |
advpssmethod1 |
advpssmethod2 |
db_upgraded |
widget_theysaidso_widget |
advps-update-notification |
advps-db-version |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Advanced post slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲191 | 13.59 ▼0.79 | 9.82 ▲7.82 | 41.38 ▼6.31 |
Dashboard /wp-admin | 2,225 ▲33 | 4.86 ▼0.06 | 107.36 ▼4.86 | 41.73 ▼9.23 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.00 ▲0.01 | 38.58 ▲1.35 | 34.91 ▲2.42 |
Add New Post /wp-admin/post-new.php | 1,561 ▲19 | 18.30 ▲0.09 | 613.90 ▼17.69 | 53.68 ▲4.73 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.20 ▲0.00 | 95.50 ▼4.76 | 40.83 ▼2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_advps_thumbnail
- wp_advps_optionset
- Zombie WordPress options detected upon uninstall: 12 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- advps-curr-version
- db_upgraded
- advps-update-notification
- advps-db-version
- advpssmethod1
- advpssmethod2
- 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
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix 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 add_action() in wp-content/plugins/advanced-post-slider/advanced-post-slider.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
advanced-post-slider/advanced-post-slider.php 92% from 13 tests
This is the main PHP file of "Advanced post slider" version 3.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,001 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 136 | 110 | 3,204 |
JavaScript | 5 | 43 | 96 | 410 |
CSS | 2 | 66 | 41 | 387 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 40.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
5 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/upb.png | 0.96KB | 0.11KB | ▼ 88.15% |
images/down.png | 2.77KB | 0.11KB | ▼ 95.95% |
images/up.png | 2.79KB | 0.11KB | ▼ 95.94% |
images/downb.png | 0.15KB | 0.11KB | ▼ 24.84% |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |