84% agent-pages

Code Review | Real Estate Agent Pages for Real Estate Wordpress Websites | RealEstateWP.com

WordPress plugin Real Estate Agent Pages for Real Estate Wordpress Websites | RealEstateWP.com scored84%from 54 tests.

About plugin

  • Plugin page: agent-pages
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.1.1
  • WordPress version: 6.3.1
  • First release: Mar 24, 2015
  • Latest release: Mar 26, 2015
  • Number of updates: 8
  • Update frequency: every 1.0 days
  • Top authors: bigupbranding (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,213 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼6.50ms] Passed 4 tests

A check of server-side resources used by Real Estate Agent Pages for Real Estate Wordpress Websites | RealEstateWP.com
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0643.31 ▲5.05
Dashboard /wp-admin3.36 ▲0.0150.49 ▼6.31
Posts /wp-admin/edit.php3.39 ▲0.0451.06 ▼0.03
Add New Post /wp-admin/post-new.php5.94 ▲0.0584.17 ▼24.69
Media Library /wp-admin/upload.php3.28 ▲0.0542.09 ▲7.18
Add New /wp-admin/post-new.php?post_type=agents3.4354.90
All Agents /wp-admin/edit.php?post_type=agents3.3142.85

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Real Estate Agent Pages for Real Estate Wordpress Websites | RealEstateWP.com
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,855 ▲10913.27 ▼1.111.83 ▲0.0441.47 ▲0.27
Dashboard /wp-admin2,236 ▲485.85 ▲0.0396.32 ▼7.5838.10 ▼6.81
Posts /wp-admin/edit.php2,116 ▲272.04 ▲0.0438.86 ▼2.5734.86 ▼2.62
Add New Post /wp-admin/post-new.php1,556 ▲4223.35 ▲5.82652.21 ▲38.9251.36 ▼8.29
Media Library /wp-admin/upload.php1,418 ▲304.23 ▲0.04102.79 ▲6.3443.92 ▼1.22
Add New /wp-admin/post-new.php?post_type=agents2,2227.67168.1264.24
All Agents /wp-admin/edit.php?post_type=agents1,0892.0032.7729.21

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/agent-pages/rewptools-agents.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: real estate

agent-pages/rewptools-agents.php 85% from 13 tests

The primary PHP file in "Real Estate Agent Pages for Real Estate Wordpress Websites | RealEstateWP.com" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("agent-pages.php" instead of "rewptools-agents.php")
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin38 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1123038

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin