Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼2.33ms] Passed 4 tests
Analyzing server-side resources used by Masonry & Infinite Scroll for Genesis
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.94 ▲8.09 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.97 ▼0.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.15 ▼0.12 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 93.06 ▼10.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.79 ▲2.58 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Masonry & Infinite Scroll for Genesis: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.65 ▼1.03 | 1.83 ▲0.25 | 41.50 ▼1.19 |
Dashboard /wp-admin | 2,209 ▲20 | 5.90 ▲0.92 | 98.98 ▼20.11 | 40.22 ▲2.23 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.04 | 36.27 ▼0.48 | 32.36 ▲0.80 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.07 ▲4.91 | 591.06 ▼55.84 | 71.02 ▲2.93 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.32 ▲0.12 | 99.17 ▼2.77 | 40.95 ▼3.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gmis/gmis.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: genesis masonry grid, genesis infinite scrolling, genesis masonry post layout, genesis masonry and infinite scroll
gmis/gmis.php Passed 13 tests
This is the main PHP file of "Masonry & Infinite Scroll for Genesis" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
114 characters long description:
Converts the blog & category pages of genesis themes into beautiful masonry layout with infinite scrolling effect.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected170 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 28 | 0 | 91 |
PHP | 1 | 14 | 10 | 76 |
JavaScript | 2 | 2 | 19 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 6 | |
▷ Named functions | 6 | 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
There are no PNG files in this plugin