Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.73ms] Passed 4 tests
Server-side resources used by Fireplug-in
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.87 ▼2.67 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.97 ▼5.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.65 ▼4.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 91.00 ▼7.03 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.27 ▲0.64 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fireplug-in
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲149 | 13.58 ▼1.01 | 8.73 ▲6.58 | 44.98 ▼4.88 |
Dashboard /wp-admin | 2,206 ▲24 | 4.87 ▼0.04 | 97.45 ▼5.66 | 39.29 ▼4.43 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▲0.00 | 38.69 ▲4.20 | 35.05 ▲0.17 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.13 ▼0.05 | 639.72 ▼20.85 | 54.78 ▲1.21 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▼0.14 | 97.60 ▼15.54 | 42.91 ▼9.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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 0% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/fireplug-in/views/public.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/fireplug-in/views/admin.php:17
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== fireplug-in ===
) - Screenshots: Add images for these screenshots: #1 (Get Credit button on article.), #2 (Zoomed in Get Credit button.), #3 (Fireplug-in on the Plugin settings page.)
fireplug-in/fireplugin.php 69% from 13 tests
The main PHP file in "Fireplug-in" ver. 0.1.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("fireplug-in.php" instead of "fireplugin.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: The description should be shorter than 140 characters (currently 148 characters long)
- Domain Path: The domain path folder was not found ("/lang")
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
Everything looks great! No dangerous files found in this plugin163 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 49 | 216 | 107 |
Markdown | 1 | 22 | 0 | 44 |
JavaScript | 2 | 0 | 1 | 12 |
CSS | 2 | 0 | 2 | 0 |
PHP code Passed 2 tests
A brief analysis 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.19 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 18.32KB | 5.20KB | ▼ 71.63% |
assets/banner-772x250.png | 23.03KB | 14.00KB | ▼ 39.18% |
screenshot-3.png | 10.83KB | 2.44KB | ▼ 77.43% |
screenshot-1.png | 91.11KB | 28.39KB | ▼ 68.84% |