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.01MB] [CPU: ▼6.72ms] Passed 4 tests
An overview of server-side resources used by FV Descriptions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.57 ▲0.08 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.17 ▼3.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.90 ▼1.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.83 ▼20.52 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.19 ▼0.74 |
FV Descriptions /wp-admin/tools.php?page=fv_descriptions | 3.21 | 37.32 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
fv_items_per_page |
widget_recent-comments |
widget_theysaidso_widget |
fv_descriptions_field |
Browser metrics Passed 4 tests
An overview of browser requirements for FV Descriptions
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.18 | 1.73 ▲0.06 | 43.60 ▲1.56 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▲0.00 | 107.83 ▲0.59 | 42.17 ▼2.21 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.01 | 38.45 ▼2.88 | 34.91 ▼0.00 |
Add New Post /wp-admin/post-new.php | 1,517 ▼25 | 17.63 ▼0.53 | 653.89 ▲34.09 | 52.04 ▲1.29 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.20 ▲0.00 | 95.01 ▼4.83 | 40.79 ▼3.99 |
FV Descriptions /wp-admin/tools.php?page=fv_descriptions | 989 | 1.70 | 28.45 | 27.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- fv_descriptions_field
- db_upgraded
- widget_recent-posts
- fv_items_per_page
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/fv-descriptions/fv-descriptions.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (FV Descriptions screen)
fv-descriptions/fv-descriptions.php Passed 13 tests
The main PHP script in "FV Descriptions" version 1.4 is automatically included on every request by WordPress
135 characters long description:
Mass edit descriptions for every post, page or category page. Supports post excerpt, Thesis and All In One SEO meta description fields.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected741 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 219 | 20 | 732 |
Markdown | 1 | 7 | 0 | 9 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 39.96KB | 16.88KB | ▼ 57.76% |