Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/fs-real-estate-plugin/widget_local.php+79
Function create_function() is deprecated
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.93ms] Passed 4 tests
This is a short check of server-side resources used by FireStorm Professional Real Estate Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.00 ▼6.35 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.20 ▼4.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.91 ▼5.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 97.92 ▲1.42 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.76 ▲6.06 |
Server storage [IO: ▲2.10MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 86 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for FireStorm Professional Real Estate Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.31 ▼0.11 | 2.25 ▲0.35 | 47.76 ▲4.25 |
Dashboard /wp-admin | 2,195 ▲18 | 5.64 ▲0.02 | 86.23 ▼13.91 | 44.30 ▲1.92 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.05 ▲0.01 | 37.04 ▲0.72 | 39.36 ▲5.44 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.13 ▲5.49 | 662.31 ▼17.28 | 51.21 ▲0.85 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.23 ▼0.03 | 100.02 ▼6.68 | 46.47 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/fs-real-estate-plugin/js/ajax.php
- > /wp-content/plugins/fs-real-estate-plugin/includes/._admin_listings_basic_form.php
- 40× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function fsrep_listing_url_gen() in wp-content/plugins/fs-real-estate-plugin/themes/default/listings_horizontal.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/fs-real-estate-plugin/xml/marker_listings.php:71
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fs-real-estate-plugin/includes/cityprov.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function fsrep_text_translator() in wp-content/plugins/fs-real-estate-plugin/includes/newsbar.php:10
- > PHP Notice
Undefined variable: Listings in wp-content/plugins/fs-real-estate-plugin/themes/default/listings_horizontal.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fs-real-estate-plugin/themes/default/listings_horizontal.php on line 9
- > PHP Notice
Undefined variable: FSREPconfig in wp-content/plugins/fs-real-estate-plugin/includes/search_page.php on line 3
- > PHP Notice
Undefined variable: PageContent in wp-content/plugins/fs-real-estate-plugin/themes/default/listings_horizontal.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function fsrep_listing_url_gen() in wp-content/plugins/fs-real-estate-plugin/themes/default/listings_vertical.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function fsrep_text_translator() in wp-content/plugins/fs-real-estate-plugin/includes/admin_settings_general.php:45
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.jpg), #2 (screenshot-2.jpg), #3 (screenshot-3.jpg), #4 (screenshot-4.jpg), #5 (screenshot-5.jpg), #6 (screenshot-6.jpg), #7 (screenshot-7.jpg), #8 (screenshot-8.jpg), #9 (screenshot-9.jpg), #10 (screenshot-10.jpg)
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
fs-real-estate-plugin/main.php 92% from 13 tests
Analyzing the main PHP file in "FireStorm Professional Real Estate Plugin" version 2.7.11
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("fs-real-estate-plugin.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin22,598 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 3,678 | 2,108 | 17,124 |
PHP | 36 | 527 | 265 | 5,086 |
CSS | 3 | 56 | 17 | 388 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 102 | |
▷ Named functions | 102 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/cart-x.png | 0.44KB | 0.31KB | ▼ 30.99% |