Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼142.78ms] Passed 4 tests
Analyzing server-side resources used by Grisha's GPlus Gallery Shortcode
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 29.99 ▲10.84 |
Dashboard /wp-admin | 3.07 ▲0.01 | 42.56 ▼6.17 |
Posts /wp-admin/edit.php | 3.13 ▲0.01 | 46.85 ▲2.65 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 92.10 ▼565.04 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 31.44 ▼2.57 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Grisha's GPlus Gallery Shortcode: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 16.04 ▲0.43 | 10.52 ▲1.61 | 49.75 ▼0.11 |
Dashboard /wp-admin | 2,967 ▲33 | 5.92 ▼0.05 | 156.01 ▲14.21 | 109.12 ▼12.32 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.72 ▼0.01 | 76.37 ▲11.87 | 88.69 ▼10.34 |
Add New Post /wp-admin/post-new.php | 1,672 ▲172 | 18.77 ▲0.11 | 352.57 ▼19.17 | 107.15 ▼5.62 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.02 | 142.85 ▲0.21 | 121.44 ▲6.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/grisha-gplus-gallery/grisha-gplus-gallery.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
7 plugin tags: google photos, photo albums, google plus, shortcode, picasa...
grisha-gplus-gallery/grisha-gplus-gallery.php Passed 13 tests
The principal PHP file in "Grisha's GPlus Gallery Shortcode" v. 4.3.1.2 is loaded by WordPress automatically on each request
94 characters long description:
Use shortcode to add Google Photos gallery to post or page. [gplus-gallery user="#" album="#"]
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected33 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 10 | 33 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin