Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼0.38ms] Passed 4 tests
This is a short check of server-side resources used by Free Assets Library - Openverse/Pixabay 600+ Million Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.87 ▲0.40 | 38.18 ▲0.93 |
Dashboard /wp-admin | 3.73 ▲0.38 | 51.65 ▼10.26 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 52.78 ▲3.70 |
Add New Post /wp-admin/post-new.php | 6.26 ▲0.37 | 91.32 ▲4.11 |
Media Library /wp-admin/upload.php | 3.59 ▲0.37 | 40.21 ▲6.19 |
Free Assets Library /wp-admin/upload.php?page=fal | 3.55 | 39.32 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Free Assets Library - Openverse/Pixabay 600+ Million Images
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲210 | 18.45 ▲4.11 | 1.56 ▼0.13 | 38.44 ▼4.10 |
Dashboard /wp-admin | 2,356 ▲182 | 9.19 ▲3.57 | 228.81 ▲132.89 | 44.92 ▲1.87 |
Posts /wp-admin/edit.php | 2,288 ▲188 | 8.03 ▲6.02 | 71.74 ▲37.29 | 31.60 ▼5.02 |
Add New Post /wp-admin/post-new.php | 1,607 ▲81 | 21.25 ▼1.91 | 616.56 ▼77.48 | 38.64 ▼19.85 |
Media Library /wp-admin/upload.php | 1,581 ▲181 | 10.11 ▲5.92 | 130.76 ▲33.74 | 47.13 ▲5.19 |
Free Assets Library /wp-admin/upload.php?page=fal | 1,267 | 8.36 | 94.64 | 33.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
6 plugin tags: stock images, royalty images, pixabay, images, photos...
free-images/free-images.php 77% from 13 tests
The primary PHP file in "Free Assets Library - Openverse/Pixabay 600+ Million Images" version 2.2.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- 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 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,634 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 319 | 931 | 1,858 |
CSS | 4 | 92 | 7 | 600 |
JavaScript | 5 | 38 | 38 | 163 |
SVG | 2 | 0 | 0 | 8 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 116 | |
▷ Static methods | 38 | 32.76% |
▷ Public methods | 100 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 13.79% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin