Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼12.23ms] Passed 4 tests
Server-side resources used by ACF Photo Gallery Field
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 44.20 ▼1.04 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.84 ▲0.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.46 ▲0.59 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.25 | 46.40 ▼49.27 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 41.02 ▲2.42 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for ACF Photo Gallery Field
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.17 | 1.70 ▼0.07 | 45.51 ▼0.71 |
Dashboard /wp-admin | 2,202 ▲25 | 5.65 ▲0.05 | 87.14 ▲1.12 | 39.68 ▼4.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▼0.00 | 38.01 ▲0.27 | 33.77 ▼2.48 |
Add New Post /wp-admin/post-new.php | 45 ▼1,483 | 0.42 ▼22.76 | 0.09 ▼607.76 | 9.78 ▼41.69 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.18 ▼0.02 | 105.12 ▼7.40 | 71.54 ▲24.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: custom, album, gallery, acf, photo...
navz-photo-gallery/navz-photo-gallery.php Passed 13 tests
Analyzing the main PHP file in "ACF Photo Gallery Field" version 2.5
103 characters long description:
An extension for Advance Custom Fields which lets you add photo gallery functionality on your websites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,310 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 242 | 402 | 994 |
JavaScript | 2 | 24 | 38 | 228 |
CSS | 2 | 12 | 0 | 88 |
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 | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 3 | 8.33% |
▷ Public methods | 31 | 86.11% |
▷ Protected methods | 1 | 2.78% |
▷ Private methods | 4 | 11.11% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin