Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/demomentsomtres-grid-archive/freemius/includes/managers/class-fs-admin-menu-manager.php+123
Undefined index: slug
Server metrics [RAM: ▲0.20MB] [CPU: ▼331.92ms] Passed 4 tests
Analyzing server-side resources used by DeMomentSomTres Grid Archive
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.57 ▲1.06 | 15.12 ▼37.14 |
Dashboard /wp-admin | 4.59 ▲1.18 | 20.95 ▼22.14 |
Posts /wp-admin/edit.php | 4.59 ▲0.95 | 12.51 ▼29.16 |
Add New Post /wp-admin/post-new.php | 4.59 ▼2.38 | 14.01 ▼1,239.22 |
Media Library /wp-admin/upload.php | 4.59 ▲1.29 | 12.91 ▼12.54 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 4.59 | 27.75 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 114 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_accounts |
fs_debug_mode |
fs_api_cache |
fs_active_plugins |
Browser metrics Passed 4 tests
Checking browser requirements for DeMomentSomTres Grid Archive
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲94 | 15.35 ▼0.35 | 5.72 ▼1.65 | 1.90 ▼0.23 |
Dashboard /wp-admin | 2,937 ▲77 | 6.16 ▲0.10 | 119.20 ▼9.08 | 171.65 ▲1.36 |
Posts /wp-admin/edit.php | 2,742 ▲51 | 3.25 ▲0.01 | 64.33 ▲0.02 | 156.55 ▲12.87 |
Add New Post /wp-admin/post-new.php | 1,696 ▲35 | 15.89 ▼1.05 | 428.58 ▼5.49 | 157.98 ▼9.63 |
Media Library /wp-admin/upload.php | 1,750 ▲52 | 5.54 ▲0.01 | 145.47 ▲5.58 | 202.38 ▲15.37 |
Freemius Debug [v.1.2.1] /wp-admin/admin.php?page=freemius | 28 | 0.94 | 0.03 | 20.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/demomentsomtres-grid-archive/freemius/includes/managers/class-fs-admin-menu-manager.php+123
Undefined index: slug
- This plugin did not uninstall successfully, leaving 4 options in the database
- fs_active_plugins
- fs_debug_mode
- fs_api_cache
- fs_accounts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=freemius
- > Notice in wp-content/plugins/demomentsomtres-grid-archive/freemius/includes/managers/class-fs-admin-menu-manager.php+123
Undefined index: slug
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=freemius
- > Network (severe)
wp-admin/admin.php?page=freemius - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: all posts, month grid, archives
demomentsomtres-grid-archive/demomentsomtres-grid-archive.php 92% from 13 tests
The main PHP file in "DeMomentSomTres Grid Archive" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected16,573 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 71 | 3,057 | 7,486 | 12,912 |
PO File | 2 | 650 | 659 | 1,608 |
Sass | 15 | 248 | 80 | 1,558 |
JavaScript | 4 | 37 | 63 | 229 |
Markdown | 1 | 59 | 0 | 191 |
JSON | 2 | 0 | 0 | 42 |
YAML | 2 | 2 | 0 | 22 |
CSS | 9 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 42.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 946.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 2 | 5.71% |
▷ Concrete classes | 33 | 94.29% |
▷ Final classes | 0 | 0.00% |
Methods | 620 | |
▷ Static methods | 86 | 13.87% |
▷ Public methods | 454 | 73.23% |
▷ Protected methods | 12 | 1.94% |
▷ Private methods | 154 | 24.84% |
Functions | 55 | |
▷ Named functions | 55 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 93 | |
▷ Global constants | 76 | 81.72% |
▷ Class constants | 17 | 18.28% |
▷ Public constants | 17 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |