Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼937.25ms] Passed 4 tests
Server-side resources used by Gallery of Animated Posts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.04 | 40.23 ▼0.36 |
Dashboard /wp-admin | 3.09 ▲0.03 | 57.03 ▲2.81 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 50.02 ▼7.21 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 92.62 ▼3,717.35 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 35.83 ▼24.07 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Gallery of Animated Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,841 ▲228 | 16.19 ▲0.63 | 15.45 ▲6.73 | 50.33 ▲3.91 |
Dashboard /wp-admin | 2,970 ▲36 | 6.14 ▲0.16 | 173.19 ▲20.29 | 115.08 ▼0.58 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.02 | 67.41 ▼1.36 | 93.22 ▲0.67 |
Add New Post /wp-admin/post-new.php | 3,689 ▲2,108 | 15.07 ▼3.27 | 462.76 ▼138.83 | 111.03 ▼104.94 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.02 ▼0.02 | 165.81 ▼76.35 | 121.21 ▼272.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 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 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 just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
gallery-of-animated-posts/gallery-of-animated-posts.php Passed 13 tests
"Gallery of Animated Posts" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
Display a gallery of animated posts unsing a shortcode for theme Gridsby.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin278 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 148 | 282 | 278 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 17 | 77.27% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 22.73% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected