Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/google-app-engine/modules/urlfetch.php+72
require_once(google/appengine/api/urlfetch_service_pb.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.73ms] Passed 4 tests
Server-side resources used by Google App Engine for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.15 ▼4.56 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.69 ▼2.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.87 ▲4.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.74 ▼7.52 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.89 ▲3.76 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Google App Engine for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.54 ▼1.21 | 1.97 ▲0.18 | 41.55 ▼8.64 |
Dashboard /wp-admin | 2,206 ▲18 | 4.90 ▼0.98 | 95.37 ▼18.21 | 39.87 ▼8.53 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.02 | 36.79 ▼0.40 | 31.73 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,534 ▼2 | 23.27 ▲0.40 | 668.80 ▲17.71 | 54.89 ▼28.41 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.02 | 96.48 ▲0.22 | 43.30 ▲0.17 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% 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 50% 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
Almost there! Just fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function google\\appengine\\WordPress\\add_filter() in wp-content/plugins/google-app-engine/modules/core.php:61
- > PHP Fatal error
Uncaught Error: Call to undefined function google\\appengine\\WordPress\\add_filter() in wp-content/plugins/google-app-engine/modules/core.php:61
- > PHP Warning
require_once(ABSPATH/wp-includes/class-wp-image-editor.php): failed to open stream: No such file or directory in wp-content/plugins/google-app-engine/modules/uploads.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function google\\appengine\\WordPress\\Mail\\add_action() in wp-content/plugins/google-app-engine/modules/mail.php:42
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/google-app-engine/modules/uploads.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/google-app-engine/modules/urlfetch.php:37
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-includes/class-wp-image-editor.php' (include_path='.:/usr/share/php') in wp-content/plugins/google-app-engine/modules/uploads.php on line 29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 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
8 plugin tags: uploads, google, email, gae, uploading...
google-app-engine/appengine.php 92% from 13 tests
"Google App Engine for WordPress" version 1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("google-app-engine.php" instead of "appengine.php")
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
Good job! No executable or dangerous file extensions detected2,258 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 444 | 798 | 2,244 |
CSS | 1 | 0 | 1 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 42 | 43.75% |
▷ Public methods | 88 | 91.67% |
▷ Protected methods | 4 | 4.17% |
▷ Private methods | 4 | 4.17% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 6 | 40.00% |
▷ Class constants | 9 | 60.00% |
▷ Public constants | 9 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
static/logo.png | 2.87KB | 1.63KB | ▼ 43.03% |