Fleetic is a website that measures the performance and quality of links using several functions. The first function, getDomainAuthority, retrieves the domain authority of a website by sending an HTTP request to the site's homepage and analyzing the links on the page to find high-quality links pointing to the domain. The function returns a value between 0 and 100 representing the estimated domain authority.
The second function, getContentQuality, analyzes the content of a webpage to determine its quality using techniques such as keyword frequency analysis, keyword-to-content-length ratio analysis, and spelling and grammar checks. The function returns a value between 0 and 100 representing the estimated content quality.
The third function, getLoadSpeed, measures the time it takes for a webpage to load by sending an HTTP request to the site's homepage. The function returns a value between 0 and 100 representing the estimated loading speed.
The fourth function, getInboundLinks, analyzes the links on a webpage to find links pointing to the same domain. The function returns a value representing the number of inbound links to the website.
Finally, calculateCrawlingRank combines the results of the previous functions to calculate a crawling rank for the website. It uses the domain authority, content quality, loading speed, and inbound link count to calculate a score for each factor and returns a value between 0 and 100 representing the estimated crawling rank of the website.