Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.50ms] Passed 4 tests
Analyzing server-side resources used by Ascendoor Logo Slide
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 43.39 ▲5.79 |
Dashboard /wp-admin | 3.41 ▲0.10 | 51.91 ▼4.63 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 47.52 ▲3.71 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 92.17 ▼14.38 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.02 ▼2.68 |
Server storage [IO: ▲4.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Ascendoor Logo Slide
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,903 ▲168 | 13.49 ▼0.50 | 9.30 ▲7.53 | 42.92 ▼6.29 |
Dashboard /wp-admin | 2,217 ▲29 | 4.84 ▼0.06 | 111.00 ▼25.29 | 52.50 ▲12.48 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.03 ▲0.04 | 43.34 ▲0.30 | 33.59 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,531 ▼8 | 23.35 ▼0.09 | 631.18 ▼95.10 | 81.07 ▲16.24 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.18 ▼0.03 | 100.50 ▼5.61 | 43.39 ▼10.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: partners, slide, animation, logo showcase, wordpress logo slide...
ascendoor-logo-slide/ascendoor-logo-slide.php Passed 13 tests
The main PHP file in "Ascendoor Logo Slide" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
46 characters long description:
Simple logo slide with CSS transition effects.
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
No dangerous file extensions were detected147,951 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 41,703 | 259 | 146,870 |
PHP | 13 | 166 | 468 | 609 |
JavaScript | 4 | 108 | 18 | 472 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.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 | 31 | |
▷ Static methods | 4 | 12.90% |
▷ Public methods | 19 | 61.29% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 38.71% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.34MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 49.33KB | 23.04KB | ▼ 53.29% |
assets/screenshot-2.png | 46.75KB | 20.19KB | ▼ 56.81% |
admin/resources/build/images/WordPress-logotype-wmark.677ef454.png | 82.46KB | 25.93KB | ▼ 68.56% |
assets/screenshot-4.png | 39.93KB | 17.16KB | ▼ 57.03% |
admin/images/WordPress-logotype-wmark.png | 82.46KB | 25.93KB | ▼ 68.56% |