Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/easy-wp-latex-lite/EzOptions.php+480
Methods with the same name as their class will not be constructors in a future version of PHP; EzMiniTab has a deprecated constructor
Server metrics [RAM: ▲0.07MB] [CPU: ▼7.54ms] Passed 4 tests
Analyzing server-side resources used by Easy WP LaTeX
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.48 ▲1.21 |
Dashboard /wp-admin | 3.42 ▲0.07 | 52.07 ▼12.35 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 49.28 ▼3.92 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 86.44 ▼13.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.62 ▼0.85 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Easy WP LaTeX
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.51 ▲0.36 | 1.80 ▲0.03 | 44.14 ▲3.99 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼0.03 | 103.56 ▼3.58 | 41.70 ▼2.27 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.01 | 35.17 ▼6.03 | 35.07 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,536 ▲6 | 23.20 ▲4.94 | 652.36 ▲8.20 | 51.70 ▼10.08 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.02 | 100.88 ▼7.15 | 44.38 ▼4.70 |
Easy LaTeX Lite /wp-admin/easy-wp-latex-lite.php | 26 | 0.44 | 0.10 | 15.71 |
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
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
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/easy-wp-latex-lite/ezDenyLite.php on line 22
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/easy-wp-latex-lite/ezDenyLite.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/easy-wp-latex-lite/EzOptions.php:544
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/easy-wp-latex-lite/ezDenyLite.php on line 22
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-wp-latex-lite/myPlugins.php:300
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/easy-wp-latex-lite.php
- > Network (severe)
wp-admin/easy-wp-latex-lite.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (How to set the options for *Easy WP LaTeX*.), #2 (*Easy WP LaTeX* in action - on my own blog.)
easy-wp-latex-lite/easy-wp-latex-lite.php 92% from 13 tests
The main PHP script in "Easy WP LaTeX" version 5.20 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 221 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected3,652 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 268 | 86 | 1,896 |
JavaScript | 2 | 167 | 165 | 1,756 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 4 | 4.08% |
▷ Public methods | 98 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
8 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
ezColor/hs.png | 2.55KB | 7.54KB | 0.00% |
img/ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
screenshot-2.png | 18.83KB | 8.90KB | ▼ 52.75% |
ezpaypal.png | 9.22KB | 3.44KB | ▼ 62.72% |
img/ezsupport.png | 3.13KB | 2.01KB | ▼ 35.75% |