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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.06ms] Passed 4 tests
This is a short check of server-side resources used by WP Theme ShapeShifter Extensions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.83 ▲2.80 |
Dashboard /wp-admin | 3.40 ▲0.06 | 50.91 ▼16.56 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 44.70 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 88.87 ▼11.49 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.01 ▲2.35 |
Server storage [IO: ▲4.63MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 283 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Theme ShapeShifter Extensions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲44 | 14.74 ▲0.43 | 1.93 ▼0.01 | 45.43 ▼1.41 |
Dashboard /wp-admin | 2,212 ▲6 | 4.87 ▼0.02 | 111.41 ▲5.53 | 42.64 ▲3.05 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.05 ▲0.08 | 34.17 ▼3.60 | 30.18 ▼5.09 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 22.99 ▲0.05 | 604.12 ▼31.04 | 53.43 ▼1.75 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.25 ▲0.01 | 104.92 ▼4.90 | 42.46 ▼7.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 11× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/popup-forms/html.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/link.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/column.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/google-map.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/shortcodes.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/row.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/image-slider.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/popup-forms/google-map.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/inserts/table.php
- > /wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/tinymce/popup-forms/row.php
- 190× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/exec/define/required-consts.php:26
- > PHP Warning
include_once(): Failed opening 'SHAPESHIFTER_EXTENSIONS_INCLUDES_DIRpage-view-counter/class-shapeshifter-page-view-count.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/exec/include/required-files.php on line 105
- > PHP Warning
include_once(SHAPESHIFTER_EXTENSIONS_INCLUDES_DIRfunctions/functions-frontend.php): failed to open stream: No such file or directory in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/exec/include/required-files.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/walkers/class-sse-walker-nav-menu-edit.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/widget-area.php on line 3
- > PHP Warning
Use of undefined constant SHAPESHIFTER_EXTENSIONS_THIRD_DIR - assumed 'SHAPESHIFTER_EXTENSIONS_THIRD_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/exec/include/required-files.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-theme-shapeshifter-extensions/templates/admin-js/widget-area.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/admin/admin-page/view/page-pixabay-media-fetcher.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/3rd/customizer/alpha-color-picker/alpha-color-picker.php:24
- > PHP Warning
include_once(SHAPESHIFTER_EXTENSIONS_INCLUDES_DIRfrontend/class-sse-frontend-filter-manager.php): failed to open stream: No such file or directory in wp-content/plugins/wp-theme-shapeshifter-extensions/includes/exec/include/required-files.php on line 111
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== wp-theme-shapeshifter-extensions ===
) - Donate link: Please fix this invalid url: ""
wp-theme-shapeshifter-extensions/wp-theme-shapeshifter-extensions.php Passed 13 tests
The main PHP file in "WP Theme ShapeShifter Extensions" ver. 1.2.7 adds more information about the plugin and also serves as the entry point for this plugin
36 characters long description:
Extensions for WP Theme ShapeShifter
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin51,499 lines of code in 212 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 5,589 | 5,905 | 22,184 |
CSS | 26 | 1,368 | 780 | 10,656 |
JavaScript | 49 | 3,353 | 2,266 | 9,954 |
PO File | 1 | 1,539 | 3,154 | 2,809 |
Sass | 5 | 260 | 0 | 2,745 |
SVG | 3 | 0 | 0 | 2,726 |
JSON | 1 | 0 | 0 | 281 |
Markdown | 2 | 38 | 0 | 144 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 30.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 202.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 77.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 69 | |
▷ Abstract classes | 1 | 1.45% |
▷ Concrete classes | 68 | 98.55% |
▷ Final classes | 1 | 1.47% |
Methods | 880 | |
▷ Static methods | 106 | 12.05% |
▷ Public methods | 750 | 85.23% |
▷ Protected methods | 127 | 14.43% |
▷ Private methods | 3 | 0.34% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
Constants | 83 | |
▷ Global constants | 57 | 68.67% |
▷ Class constants | 26 | 31.33% |
▷ Public constants | 26 | 100.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
31 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/overlays/09.png | 0.13KB | 0.12KB | ▼ 13.87% |
includes/3rd/vegas/overlays/05.png | 0.21KB | 0.10KB | ▼ 52.11% |
includes/3rd/vegas/overlays/07.png | 0.21KB | 0.10KB | ▼ 51.63% |
assets/images/linebutton/linebutton_36x60.png | 1.81KB | 1.90KB | 0.00% |
assets/css/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |