Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.01ms] Passed 4 tests
An overview of server-side resources used by WE - Client Logo Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 42.68 ▲1.04 |
Dashboard /wp-admin | 3.41 ▲0.06 | 51.92 ▼20.52 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.75 ▼0.01 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 95.87 ▼8.55 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 38.49 ▲3.80 |
Add New Client Logo /wp-admin/post-new.php?post_type=we-client-logo | 3.41 | 51.81 |
Carousel Category /wp-admin/edit-tags.php?taxonomy=carousel_cat&post_type=we-client-logo | 3.32 | 37.14 |
WE Client Logo /wp-admin/edit.php?post_type=we-client-logo | 3.33 | 36.09 |
WE Client Logo Carousel Settings /wp-admin/edit.php?post_type=we-client-logo&page=logo-client-carousel | 3.30 | 34.62 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
weclient_slider_settings |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WE - Client Logo Carousel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.39 ▼0.20 | 1.85 ▲0.01 | 44.60 ▲2.54 |
Dashboard /wp-admin | 2,243 ▲69 | 5.62 ▲0.05 | 86.38 ▼3.80 | 41.26 ▼0.44 |
Posts /wp-admin/edit.php | 2,151 ▲48 | 1.96 ▼0.01 | 39.38 ▲0.23 | 39.48 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.42 ▲0.31 | 689.33 ▼31.13 | 54.04 ▲5.06 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.19 ▲0.02 | 95.75 ▼3.47 | 45.67 ▼0.90 |
Add New Client Logo /wp-admin/post-new.php?post_type=we-client-logo | 1,809 | 3.75 | 69.94 | 35.29 |
Carousel Category /wp-admin/edit-tags.php?taxonomy=carousel_cat&post_type=we-client-logo | 1,322 | 2.12 | 26.05 | 30.56 |
WE Client Logo /wp-admin/edit.php?post_type=we-client-logo | 1,123 | 1.97 | 29.87 | 32.39 |
WE Client Logo Carousel Settings /wp-admin/edit.php?post_type=we-client-logo&page=logo-client-carousel | 973 | 2.00 | 24.70 | 29.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- weclient_slider_settings
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=we-client-logo
- > Notice in wp-content/plugins/we-client-logo-carousel/we-client-logo-carousel.php+79
Trying to get property 'post_type' of non-object
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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/we-client-logo-carousel/includes/we-client-logo-carousel-settings.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
we-client-logo-carousel/we-client-logo-carousel.php Passed 13 tests
Analyzing the main PHP file in "WE - Client Logo Carousel" version 1.4
137 characters long description:
Display client's logo, partner's logo, sponsor's logos or images using We-client-logo-carousel plugin in beautiful and responsive manner.
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
No dangerous file extensions were detected2,539 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 828 | 45 | 2,033 |
PHP | 4 | 60 | 37 | 309 |
CSS | 1 | 2 | 0 | 197 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 15 | |
▷ Named functions | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/placeholder.png | 9.67KB | 4.11KB | ▼ 57.45% |
images/right.png | 2.30KB | 0.88KB | ▼ 61.82% |
images/left.png | 2.29KB | 0.88KB | ▼ 61.58% |