Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.26ms] Passed 4 tests
Analyzing server-side resources used by Simple LiveTex
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.23 ▲1.93 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.60 ▼17.08 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.04 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.63 ▼14.70 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.57 ▼1.99 |
Simple LiveTex /wp-admin/options-general.php?page=simple-livetex | 3.21 | 38.21 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
simple_livetex_id |
Browser metrics Passed 4 tests
Checking browser requirements for Simple LiveTex
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.09 | 2.18 ▲0.13 | 45.47 ▲0.17 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▲0.03 | 91.96 ▼9.48 | 39.47 ▼5.97 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.01 | 41.23 ▲4.75 | 34.70 ▼1.70 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.44 ▲0.12 | 653.32 ▼7.40 | 49.92 ▼5.26 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.25 ▲0.04 | 97.36 ▼15.52 | 43.12 ▼4.06 |
Simple LiveTex /wp-admin/options-general.php?page=simple-livetex | 801 | 2.03 | 26.27 | 25.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
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 everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-livetex/simple-livetex.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/simple-livetex/options.php:5
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: livetex, javascript
simple-livetex/simple-livetex.php 92% from 13 tests
The entry point to "Simple LiveTex" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin69 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 26 | 69 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There are no PNG files in this plugin