Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.96MB] [CPU: ▼39.69ms] Passed 4 tests
Analyzing server-side resources used by Plugin Name: Evgeny Muravjev Typograph
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.14 ▼0.55 |
Dashboard /wp-admin | 2.99 ▼0.35 | 20.58 ▼37.20 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 18.61 ▼29.10 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 22.42 ▼76.77 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 21.12 ▼15.67 |
Server storage [IO: ▲0.14MB] [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: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Plugin Name: Evgeny Muravjev Typograph: 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 ▲47 | 14.72 ▲0.40 | 1.63 ▲0.05 | 38.35 ▼2.73 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.03 | 86.32 ▲0.49 | 36.63 ▼3.29 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▼0.04 | 40.46 ▲5.35 | 37.15 ▼1.39 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.12 ▼5.06 | 617.17 ▼77.61 | 61.71 ▲5.90 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.18 ▼0.02 | 96.34 ▼9.70 | 41.26 ▼4.30 |
Muravjev Typograph /wp-admin/wp_muravjev_typograph.php | 26 | 0.42 | 0.10 | 11.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/evgeny-muravjev-typograph/wp_muravjev_typograph.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/wp_muravjev_typograph.php
- > Network (severe)
wp-admin/wp_muravjev_typograph.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== Plugin Name: Evgeny Muravjev Typograph===
)
evgeny-muravjev-typograph/wp_muravjev_typograph.php 85% from 13 tests
The main PHP file in "Plugin Name: Evgeny Muravjev Typograph" ver. 3.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("evgeny-muravjev-typograph.php" instead of "wp_muravjev_typograph.php")
- Description: The description should be shorter than 140 characters (currently 338 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected2,763 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 410 | 617 | 2,763 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.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 | 90 | |
▷ Static methods | 18 | 20.00% |
▷ Public methods | 60 | 66.67% |
▷ Protected methods | 17 | 18.89% |
▷ Private methods | 13 | 14.44% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin