Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.08ms] Passed 4 tests
Analyzing server-side resources used by App Embed
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.25 ▼8.39 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.66 ▼2.91 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.85 ▼3.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.76 ▲9.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.99 ▼1.52 |
Appizy /wp-admin/tools.php?page=appizy-app-embed | 3.23 | 31.39 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for App Embed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲174 | 14.02 ▼0.62 | 5.70 ▲3.67 | 39.99 ▼11.62 |
Dashboard /wp-admin | 2,219 ▲31 | 4.86 ▼1.07 | 106.69 ▼10.33 | 43.14 ▲1.22 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.02 ▲0.00 | 38.54 ▲1.05 | 36.59 ▲4.47 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 18.22 ▲0.80 | 595.11 ▼105.87 | 54.42 ▼2.96 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.21 ▲0.01 | 98.33 ▼7.09 | 44.99 ▼5.37 |
Appizy /wp-admin/tools.php?page=appizy-app-embed | 764 | 2.06 | 23.98 | 24.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means 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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/appizy-app-embed/includes/admin-config.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/appizy-app-embed/class/class-appizy-api.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/appizy-app-embed/includes/app-embed.php:55
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/appizy-app-embed/class/class-appizy-api.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/appizy-app-embed/includes/admin-tools-screen.php:10
- > 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 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: web-calculator, calculator, appizy, embed, spreadsheet
appizy-app-embed/appizy-app-embed.php 92% from 13 tests
"App Embed" version 2.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin351 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 51 | 88 | 241 |
JavaScript | 2 | 27 | 11 | 100 |
CSS | 1 | 3 | 0 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin