Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.56ms] 75% from 4 tests
Server-side resources used by GS Insever Portfolio
Please fix the following
- CPU: You should keep total CPU usage under 500.00ms (currently 671.37ms on /wp-admin/admin.php?page=gs-plugins-free)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.58 ▼4.55 |
Dashboard /wp-admin | 3.34 ▲0.04 | 52.49 ▲3.18 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.42 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.33 ▼1.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.00 ▼3.20 |
Instagram Settings /wp-admin/admin.php?page=gs-instagram-settings | 3.23 | 32.58 |
GS Plugins /wp-admin/admin.php?page=gsp-main | 3.42 | 987.90 |
GS Plugins FREE /wp-admin/admin.php?page=gs-plugins-free | 3.36 | 671.37 |
Server storage [IO: ▲4.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 62 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_gs_instagram_themes |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GS Insever Portfolio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲221 | 13.55 ▼0.82 | 5.16 ▲3.35 | 47.73 ▼1.55 |
Dashboard /wp-admin | 2,258 ▲70 | 5.87 ▲0.97 | 108.89 ▼4.06 | 42.33 ▼4.25 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 2.04 ▲0.03 | 37.19 ▲1.94 | 34.28 ▲3.05 |
Add New Post /wp-admin/post-new.php | 1,586 ▲52 | 23.36 ▲0.10 | 625.28 ▼39.87 | 42.40 ▼10.68 |
Media Library /wp-admin/upload.php | 1,443 ▲55 | 4.24 ▲0.03 | 97.74 ▼3.38 | 42.88 ▼1.87 |
Instagram Settings /wp-admin/admin.php?page=gs-instagram-settings | 896 | 4.55 | 138.62 | 44.02 |
GS Plugins /wp-admin/admin.php?page=gsp-main | 1,934 | 2.04 | 27.33 | 55.24 |
GS Plugins FREE /wp-admin/admin.php?page=gs-plugins-free | 2,702 | 2.03 | 25.76 | 41.24 |
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
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_gs_instagram_themes
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Trait 'GS_Instagram\\Backend\\AjaxThemeHelper' not found in wp-content/plugins/gs-instagram-portfolio/admin/includes/Ajax.php on line 8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=gsp-main
- > Network (severe)
cdn-cgi/rum? - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
gs-instagram-portfolio/gs-instagram-portfolio.php 85% from 13 tests
The entry point to "GS Insever Portfolio" version 1.4.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 331 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin91,974 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 29 | 16,990 | 13,897 | 77,904 |
JSON | 3 | 0 | 0 | 9,982 |
PHP | 19 | 658 | 849 | 2,333 |
CSS | 3 | 70 | 42 | 981 |
Sass | 7 | 76 | 2 | 774 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 13.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 1 | 5.56% |
Methods | 156 | |
▷ Static methods | 8 | 5.13% |
▷ Public methods | 91 | 58.33% |
▷ Protected methods | 6 | 3.85% |
▷ Private methods | 59 | 37.82% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.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 are no PNG files in this plugin