Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.13ms] Passed 4 tests
Server-side resources used by FitVids, FitText and Lettering (Oh My!)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.17 ▼0.54 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.87 ▼0.72 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.13 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.50 ▼6.44 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.74 ▲3.09 |
FitVids, FitText and Lettering (Oh My) /wp-admin/options-general.php?page=js3n1_plugin_options | 3.22 | 32.68 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
js3n1_options |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
FitVids, FitText and Lettering (Oh My!): an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.26 ▼0.40 | 1.83 ▲0.05 | 40.83 ▼1.45 |
Dashboard /wp-admin | 2,202 ▲22 | 5.62 ▲0.01 | 92.70 ▲0.07 | 41.53 ▲2.61 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▲0.01 | 39.26 ▲3.59 | 35.07 ▲5.06 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.64 ▲5.31 | 652.40 ▲7.17 | 55.44 ▼18.78 |
Media Library /wp-admin/upload.php | 1,395 ▼8 | 4.14 ▼0.11 | 98.10 ▲2.29 | 43.92 ▲1.14 |
FitVids, FitText and Lettering (Oh My) /wp-admin/options-general.php?page=js3n1_plugin_options | 1,135 | 2.05 | 25.40 | 29.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- js3n1_options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/fitvidsjs-fittextjs-and-letteringjs-3-in-1/fit-3-in-1.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/fitvidsjs-fittextjs-and-letteringjs-3-in-1/fit-3-in-1.php:14
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (An example of FitVids), #2 (An Example off FitText), #3 (An Example of Lettering)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== fitvidsjs-fittextjs-and-letteringjs-3-in-1 ===
)
fitvidsjs-fittextjs-and-letteringjs-3-in-1/fit-3-in-1.php 92% from 13 tests
The main PHP script in "FitVids, FitText and Lettering (Oh My!)" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("fitvidsjs-fittextjs-and-letteringjs-3-in-1.php" instead of "fit-3-in-1.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected481 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 158 | 182 | 366 |
JavaScript | 3 | 33 | 40 | 115 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 22 | |
▷ Static methods | 5 | 22.73% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin