Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.30ms] Passed 4 tests
A check of server-side resources used by FifthEstate
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 44.02 ▼2.44 |
Dashboard /wp-admin | 3.33 ▲0.02 | 49.39 ▼6.98 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.26 ▲1.71 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 90.40 ▼4.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.91 ▼3.38 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
fifthestate |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
FifthEstate: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.20 ▼0.42 | 1.66 ▼0.80 | 39.10 ▼4.86 |
Dashboard /wp-admin | 2,201 ▲21 | 5.57 ▼0.11 | 91.49 ▼7.80 | 40.24 ▼2.85 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▲0.05 | 38.05 ▼0.80 | 35.66 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.99 ▼0.67 | 669.23 ▼10.76 | 54.60 ▼1.28 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.18 ▼0.00 | 95.45 ▼5.90 | 44.65 ▼1.53 |
FifthEstate /wp-admin/fifthestate.php | 26 | 0.42 | 0.09 | 14.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- fifthestate
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function FifthEstate\\add_action() in wp-content/plugins/fifthestate/post-handler.php:119
- > PHP Fatal error
Uncaught Error: Call to undefined function FifthEstate\\add_action() in wp-content/plugins/fifthestate/settings.php:190
- > PHP Fatal error
Uncaught Error: Call to undefined function FifthEstate\\add_action() in wp-content/plugins/fifthestate/post-handler.php:119
- > 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/fifthestate.php
- > Network (severe)
wp-admin/fifthestate.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: wordpressorg, fifthestate, fifth, wordpress, estate
fifthestate/fifthestate.php Passed 13 tests
The entry point to "FifthEstate" version 1.1.1 is a PHP file that has certain tags in its header comment area
47 characters long description:
Connect your WordPress.org site to FifthEstate.
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
Success! There were no dangerous files found in this plugin592 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 34 | 44 | 329 |
JavaScript | 2 | 27 | 8 | 263 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 1 | |
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 | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.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