Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.31ms] Passed 4 tests
An overview of server-side resources used by Responsive Google Effect Portfolio Grid
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 35.72 ▼2.43 |
Dashboard /wp-admin | 3.40 ▲0.06 | 46.97 ▼10.07 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 48.18 ▼2.77 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 95.82 ▲2.02 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 38.31 ▲3.29 |
/wp-admin/edit.php?post_type=rgpg_portfolio&page=rgpg_editsc | 3.27 | 30.52 |
All Portfolio /wp-admin/edit.php?post_type=rgpg_portfolio | 3.37 | 38.34 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=rgpg_category&post_type=rgpg_portfolio | 3.33 | 33.56 |
Add Portfolio /wp-admin/post-new.php?post_type=rgpg_portfolio | 3.46 | 54.15 |
RGPG Shortcode /wp-admin/edit.php?post_type=rgpg_portfolio&page=rgpg_createsc | 3.30 | 32.03 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
rgpg_category_children |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Responsive Google Effect Portfolio Grid: 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,977 ▲231 | 13.91 ▼0.84 | 7.46 ▲5.71 | 36.03 ▼4.52 |
Dashboard /wp-admin | 2,259 ▲71 | 5.17 ▼0.74 | 96.66 ▼10.96 | 36.98 ▼8.00 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 2.30 ▲0.28 | 41.94 ▲1.85 | 36.31 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,565 ▲46 | 23.39 ▲0.03 | 632.64 ▼20.96 | 35.24 ▼22.73 |
Media Library /wp-admin/upload.php | 1,451 ▲60 | 4.24 ▲0.09 | 96.70 ▼4.70 | 46.87 ▲1.05 |
/wp-admin/edit.php?post_type=rgpg_portfolio&page=rgpg_editsc | 805 | 1.98 | 25.18 | 20.74 |
All Portfolio /wp-admin/edit.php?post_type=rgpg_portfolio | 1,102 | 2.23 | 32.11 | 29.85 |
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=rgpg_category&post_type=rgpg_portfolio | 1,430 | 2.05 | 30.47 | 30.10 |
Add Portfolio /wp-admin/post-new.php?post_type=rgpg_portfolio | 2,353 | 7.83 | 171.95 | 63.65 |
RGPG Shortcode /wp-admin/edit.php?post_type=rgpg_portfolio&page=rgpg_createsc | 991 | 1.97 | 38.43 | 38.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- rgpg_category_children
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/edit.php?post_type=rgpg_portfolio&page=rgpg_editsc
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'rgpg_editsc_func' not found or invalid function name
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/responsive-google-effect-portfolio-grid/rgpg-main.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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 16 tag instead of maximum 10
responsive-google-effect-portfolio-grid/rgpg-main.php 92% from 13 tests
The entry point to "Responsive Google Effect Portfolio Grid" version 1.0.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("responsive-google-effect-portfolio-grid.php" instead of "rgpg-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected927 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 26 | 25 | 358 |
JavaScript | 2 | 96 | 92 | 343 |
CSS | 2 | 31 | 7 | 226 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin