Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.80ms] Passed 4 tests
A check of server-side resources used by Fegallery - Featured Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.09 ▼0.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.32 ▼4.87 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.87 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.87 ▼4.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.49 ▲0.57 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Fegallery - Featured Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.73 ▼0.57 | 1.59 ▼0.42 | 41.62 ▼7.59 |
Dashboard /wp-admin | 2,209 ▲21 | 4.85 ▼1.03 | 113.40 ▼2.05 | 41.48 ▼6.48 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.00 | 39.74 ▲4.51 | 35.98 ▲2.22 |
Add New Post /wp-admin/post-new.php | 6,405 ▲4,886 | 19.07 ▼4.09 | 897.61 ▲308.07 | 40.83 ▼15.53 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.28 ▼0.03 | 96.11 ▲2.19 | 46.59 ▲4.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: gallery shortcode, gallery, images gallery, fancybox, lightbox...
fegallery/fegallery.php Passed 13 tests
Analyzing the main PHP file in "Fegallery - Featured Gallery" version 1.1.1
35 characters long description:
Simple image gallery with lightbox.
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 detected1,119 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 75 | 86 | 384 |
CSS | 5 | 64 | 5 | 368 |
PHP | 5 | 102 | 35 | 367 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/lightbox2/images/prev.png | 1.33KB | 1.59KB | 0.00% |
lib/lightbox2/images/next.png | 1.32KB | 1.58KB | 0.00% |
lib/lightbox2/images/close.png | 0.27KB | 0.29KB | 0.00% |