Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.18ms] Passed 4 tests
This is a short check of server-side resources used by My FastAPP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.23 ▼2.55 |
Dashboard /wp-admin | 3.33 ▼0.02 | 50.08 ▼11.52 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.31 ▲2.75 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 95.86 ▼6.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.02 ▲0.03 |
Server storage [IO: ▲11.62MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
plugin_myfastapp_external_api_uri |
plugin_myfastapp_items |
db_upgraded |
plugin_myfastapp_installed |
plugin_myfastapp_apitoken |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for My FastAPP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 14.40 ▼0.15 | 1.81 ▲0.25 | 40.98 ▲1.40 |
Dashboard /wp-admin | 2,226 ▲46 | 5.63 ▲0.10 | 93.40 ▼0.28 | 38.34 ▼3.50 |
Posts /wp-admin/edit.php | 2,128 ▲31 | 1.96 ▼0.05 | 40.54 ▲1.66 | 34.43 ▼4.15 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 18.31 ▼4.81 | 648.89 ▲42.85 | 71.67 ▲19.92 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.20 ▲0.02 | 97.19 ▼4.54 | 40.85 ▼5.81 |
Settings /wp-admin/admin.php?page=my-fastapp#/settings | 811 | 2.16 | 24.57 | 27.05 |
Builds /wp-admin/admin.php?page=my-fastapp#/builds | 793 | 2.02 | 26.24 | 25.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- plugin_myfastapp_version
- db_upgraded
- theysaidso_admin_options
- plugin_myfastapp_items
- plugin_myfastapp_external_api_uri
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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 items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/misc.php' (include_path='.:/usr/share/php') in wp-content/plugins/my-fastapp/includes/class-controller.php on line 7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/my-fastapp/includes/class-controller.php on line 7
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/misc.php): failed to open stream: No such file or directory in wp-content/plugins/my-fastapp/includes/class-controller.php on line 7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=my-fastapp#/builds
- > Network (severe)
http://localhost:3000/static/js/bundle.js?ver=1.3.0 - Failed to load resource: net::ERR_CONNECTION_REFUSED
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=my-fastapp#/builds
- > Network (severe)
http://localhost:3000/static/js/vendors~main.chunk.js?ver=1.3.0 - Failed to load resource: net::ERR_CONNECTION_REFUSED
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=my-fastapp#/builds
- > Network (severe)
http://localhost:3000/static/js/main.chunk.js?ver=1.3.0 - Failed to load resource: net::ERR_CONNECTION_REFUSED
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #0, #1, #2, #3, #4, #5 in my-fastapp/assets to your readme.txt
- Requires php: The plugin version is formatted incorrectly
my-fastapp/my-fastapp.php 92% from 13 tests
The main PHP script in "My FastAPP" version 1.3.2 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin916 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 165 | 180 | 807 |
PO File | 2 | 38 | 42 | 104 |
JavaScript | 4 | 0 | 5 | 4 |
CSS | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 59 | |
▷ Static methods | 3 | 5.08% |
▷ Public methods | 44 | 74.58% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 25.42% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
4 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/image-loginpage.png | 25.01KB | 12.03KB | ▼ 51.91% |
assets/images/image-menuheader.png | 33.29KB | 13.42KB | ▼ 59.68% |
assets/images/image-appicon.png | 21.93KB | 10.54KB | ▼ 51.96% |
assets/images/image-splash.png | 25.24KB | 11.97KB | ▼ 52.56% |