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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.91ms] Passed 4 tests
Analyzing server-side resources used by Foxy Board
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.22 ▼0.54 |
Dashboard /wp-admin | 3.33 ▼0.02 | 49.66 ▼15.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 53.73 ▲6.69 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 101.21 ▲0.86 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.68 ▲3.36 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Foxy Board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.10 ▼0.25 | 1.66 ▲0.05 | 43.66 ▲2.92 |
Dashboard /wp-admin | 2,202 ▲21 | 5.59 ▼0.13 | 91.29 ▼18.54 | 41.00 ▲4.14 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.95 ▼0.04 | 38.61 ▲2.78 | 35.48 ▲0.38 |
Add New Post /wp-admin/post-new.php | 6,267 ▲4,741 | 26.13 ▲2.99 | 977.46 ▲290.35 | 59.26 ▼5.25 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.03 | 108.93 ▲2.32 | 46.40 ▼1.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- 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 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/foxy-board/foxy-board.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (Foxy Board App Widget for a single app, light theme, english), #2 (Foxy Board inserting apps widget for blog post editing screen, english)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== foxy-board ===
)
foxy-board/foxy-board.php Passed 13 tests
"Foxy Board" version 0.5.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
88 characters long description:
Easily Embed and Preview (Mozilla) Firefox Marketplace Apps in a stylish and modern way.
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
There were no executable files found in this plugin293 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 8 | 0 | 175 |
PHP | 1 | 11 | 9 | 91 |
JavaScript | 1 | 5 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 10 | 100.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 17.91KB | 7.93KB | ▼ 55.71% |
img/Review_Stars_regular.png | 1.93KB | 1.82KB | ▼ 5.75% |
screenshot-2.png | 10.17KB | 6.26KB | ▼ 38.45% |